Skip to content

Commit

Permalink
PATCH: fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnysideup committed Nov 16, 2017
1 parent a4d8e00 commit f29afe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/TypographyTestPage_Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit f29afe5

Please sign in to comment.