crisu83 / yiistrap

Twitter Bootstrap for the Yii PHP framework.
http://www.getyiistrap.com
BSD 3-Clause "New" or "Revised" License
286 stars 176 forks source link

Fixed issue with recursive asset copying. fixes #206 #218

Closed mattamatic closed 10 years ago

mattamatic commented 10 years ago

Signed-off-by: Matt Cox matt@dmgsolutions.ca

crisu83 commented 10 years ago

While this might work for you the fix is incorrect. The default path for Bootstrap is defined at https://github.com/mattamatic/yiistrap/blob/bs3/components/TbApi.php#L55 so it should always be set. The if-clause in the getAssetUrl() method is just checking if the path is an alias and normalizing it if necessary.