Browse Source

Fixed bootstrap asset registration issue.

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
894510cfa7
  1. 2
      apps/bootstrap/config/assets.php
  2. 6
      yii/YiiBase.php

2
apps/bootstrap/config/assets.php

@ -12,7 +12,7 @@ return array(
),
'depends' => array(
'yii',
'yii/bootstrap-responsive',
'yii/bootstrap/responsive',
),
),
);

6
yii/YiiBase.php

@ -614,6 +614,8 @@ class YiiBase
}
YiiBase::$aliases = array(
'@yii' => __DIR__,
'@yii/bootstrap' => __DIR__ . '/bootstrap',
'@yii' => array(
'@yii/bootstrap' => __DIR__ . '/bootstrap',
'@yii' => __DIR__,
),
);

Loading…
Cancel
Save