diff --git a/code/TypographyTestPage_Controller.php b/code/TypographyTestPage_Controller.php index a8d1e4d..9eb239c 100755 --- a/code/TypographyTestPage_Controller.php +++ b/code/TypographyTestPage_Controller.php @@ -30,7 +30,7 @@ public static function get_css_folder() if (Config::inst()->get("TypographyTestPage_Controller", "css_folder")) { $folder = Config::inst()->get("TypographyTestPage_Controller", "css_folder"); } else { - $folder = "themes/".SSViewer::current_theme()."/css/"; + $folder = "themes/".Config::inst()->get('SSViewer', 'theme')."/css/"; } $fullFolder = Director::baseFolder().'/'.$folder; if (!file_exists($fullFolder)) {