Commit e4c1656c by Alexander Kochetov

Yii class `include` cass replaced to `require`

parent 143e42c8
......@@ -23,5 +23,5 @@ class Yii extends \yii\BaseYii
}
spl_autoload_register(['Yii', 'autoload'], true, true);
Yii::$classMap = include(__DIR__ . '/classes.php');
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