code style fix of YiiRequirementChecker.php

Renamed yiirequirements.php to requirements.php
This commit is contained in:
Qiang Xue
2013-05-11 15:49:15 -04:00
parent fb185d14e5
commit e951939372
3 changed files with 30 additions and 30 deletions

View File

@@ -10,12 +10,10 @@
* ln requirements.php ../requirements.php
*/
$appRootPath = dirname(__FILE__);
if (basename($appRootPath) == 'protected') {
$appRootPath = dirname($appRootPath);
}
// you may need to adjust this path:
require_once(realpath($appRootPath.'/../../yii/requirements/YiiRequirementChecker.php'));
// you may need to adjust this path to the correct Yii framework path
$frameworkPath = dirname(__FILE__) . '/../../../yii';
require_once($frameworkPath . '/requirements/YiiRequirementChecker.php');
$requirementsChecker = new YiiRequirementChecker();
/**