Commit 710b7b56 by Crisu83

Changes the access to registerCss and registerResponsiveCss to public.

parent af88bc55
...@@ -58,9 +58,9 @@ class Bootstrap extends CApplicationComponent ...@@ -58,9 +58,9 @@ class Bootstrap extends CApplicationComponent
} }
/** /**
* Registers the Bootstrap core CSS. * Registers the Bootstrap CSS.
*/ */
protected function registerCoreCss() public function registerCss()
{ {
Yii::app()->clientScript->registerCssFile($this->getAssetsUrl().'/css/bootstrap.min.css'); Yii::app()->clientScript->registerCssFile($this->getAssetsUrl().'/css/bootstrap.min.css');
} }
...@@ -69,7 +69,7 @@ class Bootstrap extends CApplicationComponent ...@@ -69,7 +69,7 @@ class Bootstrap extends CApplicationComponent
* Registers the Bootstrap responsive CSS. * Registers the Bootstrap responsive CSS.
* @since 0.9.8 * @since 0.9.8
*/ */
protected function registerResponsiveCss() public function registerResponsiveCss()
{ {
Yii::app()->clientScript->registerCssFile($this->getAssetsUrl().'/css/bootstrap-responsive.min.css'); Yii::app()->clientScript->registerCssFile($this->getAssetsUrl().'/css/bootstrap-responsive.min.css');
} }
......
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