diff --git a/upload/system.php b/upload/system.php index 3a22a3e..63ee52e 100644 --- a/upload/system.php +++ b/upload/system.php @@ -32,7 +32,7 @@ // Debug ini_set("display_errors", $core->config->main['debug']); -$warn_type = ($core->config->main['debug'] && $core->user->permissions->sys_debug) ? E_ALL : 0; +$warn_type = ($core->config->main['debug']) ? E_ALL : 0; error_reporting($warn_type); $base_url = ($core->config->main['install']) ? $core->base_url() : $core->config->main['s_root'];