From bade6f7eefa3df69ae2c09998ef9eba0c2e399aa Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Thu, 6 Jun 2013 07:51:55 -0400 Subject: [PATCH] minor fix about composer installer. --- extensions/composer/yii/composer/InstallHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/composer/yii/composer/InstallHandler.php b/extensions/composer/yii/composer/InstallHandler.php index 9e36a35..be4037b 100644 --- a/extensions/composer/yii/composer/InstallHandler.php +++ b/extensions/composer/yii/composer/InstallHandler.php @@ -82,7 +82,7 @@ class InstallHandler throw new Exception("Config file does not exist: $configFile"); } - require(__DIR__ . '/../../../yii2/yii/Yii.php'); + require_once(__DIR__ . '/../../../yii2/yii/Yii.php'); $application = new Application(require($configFile)); $request = $application->getRequest();