From b691a8fffdbe914cd4ebd49946474897a1725799 Mon Sep 17 00:00:00 2001 From: flashwave Date: Sat, 21 Mar 2015 15:39:45 +0100 Subject: [PATCH] desu? --- _sakura/components/Main.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_sakura/components/Main.php b/_sakura/components/Main.php index 35036bb..bee5039 100644 --- a/_sakura/components/Main.php +++ b/_sakura/components/Main.php @@ -92,9 +92,9 @@ class Main { public static function ErrorHandler($errno, $errstr, $errfile, $errline) { // Set some variables to work with including A HUGE fallback hackjob for the templates folder - $errstr = str_replace(self::getConfig('etc', 'localPath'), '', $errstr); - $errfile = str_replace(self::getConfig('etc', 'localPath'), '', $errfile); - $templates = (self::getConfig('etc', 'templatesPath') !== null && !empty(self::getConfig('etc', 'templatesPath'))) ? self::getConfig('etc', 'templatesPath') : '/var/www/flashii.net/_sakuya/templates/'; + $errstr = str_replace(Configuration::getLocalConfig('etc', 'localPath'), '', $errstr); + $errfile = str_replace(Configuration::getLocalConfig('etc', 'localPath'), '', $errfile); + $templates = (Configuration::getLocalConfig('etc', 'templatesPath') !== null && !empty(Configuration::getLocalConfig('etc', 'templatesPath'))) ? Configuration::getLocalConfig('etc', 'templatesPath') : '/var/www/flashii.net/_sakuya/templates/'; switch ($errno) {