diff --git a/modules/cms/classes/Controller.php b/modules/cms/classes/Controller.php index d41951833..05e80b6cb 100644 --- a/modules/cms/classes/Controller.php +++ b/modules/cms/classes/Controller.php @@ -84,7 +84,7 @@ class Controller extends BaseController public function __construct($theme = null) { $this->theme = $theme ? $theme : Theme::getActiveTheme(); - $this->assetPath = $this->themeUrl(); + $this->assetPath = Config::get('cms.themesDir').'/'.$this->theme->getDirName(); } /**