think 823 B

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();