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();