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

123456789101112131415161718192021222324
  1. <?php
  2. date_default_timezone_set('Europe/Paris');
  3. defined('YII_DEBUG') or define('YII_DEBUG', true);
  4. defined('YII_ENV') or define('YII_ENV', 'dev');
  5. require(__DIR__ . '/../../vendor/autoload.php');
  6. require(__DIR__ . '/../../vendor/yiisoft/yii2/Yii.php');
  7. require(__DIR__ . '/../../common/config/bootstrap.php');
  8. require(__DIR__ . '/../config/bootstrap.php');
  9. $config = yii\helpers\ArrayHelper::merge(
  10. require(__DIR__ . '/../../common/config/main.php'),
  11. require(__DIR__ . '/../../common/config/main-local.php'),
  12. require(__DIR__ . '/../config/main.php'),
  13. require(__DIR__ . '/../config/main-local.php')
  14. );
  15. $application = new yii\web\Application($config);
  16. date_default_timezone_set('Europe/Paris');
  17. $application->run();