From 0bf24ff19d86a5b3965a4b2da95b131df6b238b8 Mon Sep 17 00:00:00 2001 From: flashwave Date: Sun, 8 Mar 2015 06:57:33 +0100 Subject: [PATCH] blurgh --- _sakura/components/Main.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_sakura/components/Main.php b/_sakura/components/Main.php index b0e4b12..77720d2 100644 --- a/_sakura/components/Main.php +++ b/_sakura/components/Main.php @@ -49,8 +49,8 @@ class Flashii { private function initTwig($templateName = null, $templatesFolder = null) { // Assign default values set in the configuration if $templateName and $templatesFolder are null - $templateName = is_null($templateName) ? self::getConfig('etc', 'design') : $templateName; - $templatesFolder = is_null($templatesFolder) ? self::getConfig('etc', 'templatesPath') : $templatesFolder; + $templateName = is_null($templateName) ? self::getLocalConfig('etc', 'design') : $templateName; + $templatesFolder = is_null($templatesFolder) ? self::getLocalConfig('etc', 'templatesPath') : $templatesFolder; // Initialise Twig Filesystem Loader $twigLoader = new \Twig_Loader_Filesystem($templatesFolder . $templateName);