From 34cef2ab46b366accd0ab5b5f5bac8b54dd2bd1d Mon Sep 17 00:00:00 2001 From: Sam Georges Date: Thu, 22 May 2014 20:29:28 +1000 Subject: [PATCH] Fixes #197 - Subfolder duplicated in Controller asset path --- modules/cms/classes/Controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } /**