Browse Source

YiiBase move all after class definition

tags/2.0.0-beta
Alexander Kochetov 12 years ago
parent
commit
c3bce6b611
  1. 9
      yii/YiiBase.php

9
yii/YiiBase.php

@ -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',
);

Loading…
Cancel
Save