update
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
|
||||
include_once('class/Exception.class.php');
|
||||
include_once('class/Config.class.php');
|
||||
@@ -59,9 +59,7 @@ class Core {
|
||||
|
||||
public static function SetAppSafeMode() {
|
||||
MFLog::Error('Switching into the SafeMod.');
|
||||
if (Config::Get('ERROR_REDIRECT') == true) {
|
||||
self::$appSafeMode = true;
|
||||
}
|
||||
self::$appSafeMode = true;
|
||||
}
|
||||
|
||||
public static function GetAppSafeMode() {
|
||||
@@ -322,4 +320,4 @@ function StrLeft($s1, $s2) {
|
||||
return substr($s1, 0, strpos($s1, $s2));
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user