Explorar o código

Added missing environment definition in console

fixes https://github.com/yiisoft/yii2/issues/10300
Carsten Brandt %!s(int64=10) %!d(string=hai) anos
pai
achega
ce4ad9c851
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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');