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

24 行
704B

  1. #!/usr/bin/env php
  2. <?php
  3. /**
  4. * Yii console bootstrap file.
  5. *
  6. * @link http://www.yiiframework.com/
  7. * @copyright Copyright (c) 2008 Yii Software LLC
  8. * @license http://www.yiiframework.com/license/
  9. */
  10. require_once __DIR__ . '/_bootstrap.php';
  11. $config = yii\helpers\ArrayHelper::merge(
  12. require(YII_APP_BASE_PATH . '/common/config/main.php'),
  13. require(YII_APP_BASE_PATH . '/common/config/main-local.php'),
  14. require(YII_APP_BASE_PATH . '/console/config/main.php'),
  15. require(YII_APP_BASE_PATH . '/console/config/main-local.php'),
  16. require(dirname(__DIR__) . '/config/config.php')
  17. );
  18. $application = new yii\console\Application($config);
  19. $exitCode = $application->run();
  20. exit($exitCode);