tp5.1框架 think-queue 队列
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678910111213141516171819202122
  1. #!/usr/bin/env php
  2. <?php
  3. // +----------------------------------------------------------------------
  4. // | ThinkPHP [ WE CAN DO IT JUST THINK ]
  5. // +----------------------------------------------------------------------
  6. // | Copyright (c) 2006-2018 http://thinkphp.cn All rights reserved.
  7. // +----------------------------------------------------------------------
  8. // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
  9. // +----------------------------------------------------------------------
  10. // | Author: yunwuxin <448901948@qq.com>
  11. // +----------------------------------------------------------------------
  12. namespace think;
  13. // 加载基础文件
  14. require __DIR__ . '/thinkphp/base.php';
  15. // 应用初始化
  16. Container::get('app')->path(__DIR__ . '/application/')->initialize();
  17. // 控制台初始化
  18. Console::init();