Commit c3bce6b6 by Alexander Kochetov

YiiBase move all after class definition

parent 6f2acf05
......@@ -70,9 +70,7 @@ class YiiBase
* @see getAlias
* @see setAlias
*/
public static $aliases = array(
'@yii' => __DIR__,
);
public static $aliases;
/**
* @var array initial property values that will be applied to objects newly created via [[createObject]].
* The array keys are class names without leading backslashes "\", and the array values are the corresponding
......@@ -615,4 +613,7 @@ class YiiBase
}
}
YiiBase::$aliases['@yii/bootstrap'] = __DIR__ . '/bootstrap';
YiiBase::$aliases = array(
'@yii' => __DIR__,
'@yii/bootstrap' => __DIR__ . '/bootstrap',
);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment