fixed: debug switch
This commit is contained in:
parent
efe97003d2
commit
b8d8b39bcb
1 changed files with 2 additions and 0 deletions
|
@ -122,9 +122,11 @@ switch(DEBUG_LEVEL)
|
|||
case 0:
|
||||
error_reporting(0);
|
||||
ini_set('display_errors', '0');
|
||||
break;
|
||||
case 1:
|
||||
error_reporting(E_ALL);
|
||||
ini_set('display_errors', '1');
|
||||
break;
|
||||
default:
|
||||
if(phpversion() >= '5.3.0')
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue