Commit 42963f14 by Crisu83

Changed the assets path to a relative path.

parent a6df0101
...@@ -41,7 +41,7 @@ class Bootstrap extends CApplicationComponent ...@@ -41,7 +41,7 @@ class Bootstrap extends CApplicationComponent
return $this->_assetsUrl; return $this->_assetsUrl;
else else
{ {
$assetsPath = Yii::getPathOfAlias('ext.bootstrap.assets'); $assetsPath = realpath(dirname(__FILE__).'/../assets');
if (YII_DEBUG) if (YII_DEBUG)
$assetsUrl = Yii::app()->assetManager->publish($assetsPath, false, -1, true); $assetsUrl = Yii::app()->assetManager->publish($assetsPath, false, -1, true);
......
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