desu?
This commit is contained in:
parent
7220822edd
commit
b691a8fffd
1 changed files with 3 additions and 3 deletions
|
@ -92,9 +92,9 @@ class Main {
|
||||||
public static function ErrorHandler($errno, $errstr, $errfile, $errline) {
|
public static function ErrorHandler($errno, $errstr, $errfile, $errline) {
|
||||||
|
|
||||||
// Set some variables to work with including A HUGE fallback hackjob for the templates folder
|
// Set some variables to work with including A HUGE fallback hackjob for the templates folder
|
||||||
$errstr = str_replace(self::getConfig('etc', 'localPath'), '', $errstr);
|
$errstr = str_replace(Configuration::getLocalConfig('etc', 'localPath'), '', $errstr);
|
||||||
$errfile = str_replace(self::getConfig('etc', 'localPath'), '', $errfile);
|
$errfile = str_replace(Configuration::getLocalConfig('etc', 'localPath'), '', $errfile);
|
||||||
$templates = (self::getConfig('etc', 'templatesPath') !== null && !empty(self::getConfig('etc', 'templatesPath'))) ? self::getConfig('etc', 'templatesPath') : '/var/www/flashii.net/_sakuya/templates/';
|
$templates = (Configuration::getLocalConfig('etc', 'templatesPath') !== null && !empty(Configuration::getLocalConfig('etc', 'templatesPath'))) ? Configuration::getLocalConfig('etc', 'templatesPath') : '/var/www/flashii.net/_sakuya/templates/';
|
||||||
|
|
||||||
switch ($errno) {
|
switch ($errno) {
|
||||||
|
|
||||||
|
|
Reference in a new issue