Added missing environment definition in console

fixes https://github.com/yiisoft/yii2/issues/10300
This commit is contained in:
Carsten Brandt 2015-12-02 01:12:00 +01:00
parent 418afaec9f
commit ce4ad9c851

1
yii
View File

@ -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');