Commit 7dd3eea6 by Carsten Brandt

Merge pull request #7038 from creocoder/yii-class-include-to-require

Yii class `include` cass replaced to `require` + CS fix
parents 97e3df16 8794cd92
......@@ -23,5 +23,5 @@ class Yii extends \yii\BaseYii
}
spl_autoload_register(['Yii', 'autoload'], true, true);
Yii::$classMap = include(__DIR__ . '/classes.php');
Yii::$container = new yii\di\Container;
Yii::$classMap = require(__DIR__ . '/classes.php');
Yii::$container = new yii\di\Container();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment