mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-16 22:39:52 +08:00
code style fix of YiiRequirementChecker.php
Renamed yiirequirements.php to requirements.php
This commit is contained in:
@@ -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();
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user