From e4c1656cbca3370df52cbce7c37a43b1049cfa34 Mon Sep 17 00:00:00 2001 From: Alexander Kochetov Date: Tue, 27 Jan 2015 06:15:12 +0300 Subject: [PATCH] Yii class `include` cass replaced to `require` --- framework/Yii.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/Yii.php b/framework/Yii.php index 1e4efbbf14..6ea4f31ad4 100644 --- a/framework/Yii.php +++ b/framework/Yii.php @@ -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;