Added missing environment definition in console
fixes https://github.com/yiisoft/yii2/issues/10300
This commit is contained in:
parent
418afaec9f
commit
ce4ad9c851
1
yii
1
yii
@ -9,6 +9,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
defined('YII_DEBUG') or define('YII_DEBUG', true);
|
defined('YII_DEBUG') or define('YII_DEBUG', true);
|
||||||
|
defined('YII_ENV') or define('YII_ENV', 'dev');
|
||||||
|
|
||||||
require(__DIR__ . '/vendor/autoload.php');
|
require(__DIR__ . '/vendor/autoload.php');
|
||||||
require(__DIR__ . '/vendor/yiisoft/yii2/Yii.php');
|
require(__DIR__ . '/vendor/yiisoft/yii2/Yii.php');
|
||||||
|
Loading…
Reference in New Issue
Block a user