mirror of
https://github.com/e107inc/e107.git
synced 2025-02-06 06:59:07 +01:00
Issue #2146
This commit is contained in:
parent
3ebeb140bd
commit
b164750645
@ -2234,7 +2234,7 @@ class error_handler
|
|||||||
return;
|
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;
|
$this->debug = true;
|
||||||
error_reporting(E_ALL);
|
error_reporting(E_ALL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user