Browse Source

minor fix about composer installer.

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
bade6f7eef
  1. 2
      extensions/composer/yii/composer/InstallHandler.php

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

Loading…
Cancel
Save