From f29afe52d23c70d05aabb69f36cdc0bb27bc9971 Mon Sep 17 00:00:00 2001 From: Nicolaas Date: Fri, 17 Nov 2017 11:08:00 +1300 Subject: [PATCH] PATCH: fixes --- code/TypographyTestPage_Controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {