浏览代码

Added missing environment definition in console

fixes https://github.com/yiisoft/yii2/issues/10300
Carsten Brandt 10 年之前
父节点
当前提交
ce4ad9c851
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      yii

+ 1 - 0
yii

@@ -9,6 +9,7 @@
  */
 
 defined('YII_DEBUG') or define('YII_DEBUG', true);
+defined('YII_ENV') or define('YII_ENV', 'dev');
 
 require(__DIR__ . '/vendor/autoload.php');
 require(__DIR__ . '/vendor/yiisoft/yii2/Yii.php');