mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
Issue #2146
This commit is contained in:
parent
3ebeb140bd
commit
b164750645
@ -2234,7 +2234,7 @@ class error_handler
|
||||
return;
|
||||
}
|
||||
|
||||
if ((isset($_SERVER['QUERY_STRING']) && strpos($_SERVER['QUERY_STRING'], 'debug=') !== FALSE) || isset($_COOKIE['e107_debug_level']) && strpos($_SERVER['QUERY_STRING'], 'debug=-') !== TRUE )
|
||||
if ((isset($_SERVER['QUERY_STRING']) && strpos($_SERVER['QUERY_STRING'], 'debug=') !== false) || isset($_COOKIE['e107_debug_level']) && strpos($_SERVER['QUERY_STRING'], 'debug=-') === false )
|
||||
{
|
||||
$this->debug = true;
|
||||
error_reporting(E_ALL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user