modified : testing for development mdode
This commit is contained in:
parent
a0b2a22dea
commit
3fbcc69f82
1 changed files with 4 additions and 7 deletions
|
@ -127,13 +127,10 @@
|
|||
case 2:
|
||||
default:
|
||||
{
|
||||
if(phpversion() >= '5.3.0') {
|
||||
error_reporting(E_ALL & ~(E_NOTICE | E_DEPRECATED | E_STRICT | E_WARNING));
|
||||
ini_set('display_errors', 'on');
|
||||
} else {
|
||||
error_reporting(E_ALL ^E_NOTICE);
|
||||
ini_set('display_errors', 'on');
|
||||
}
|
||||
|
||||
error_reporting(E_ALL & ~(E_NOTICE | E_DEPRECATED | E_STRICT | E_WARNING));
|
||||
ini_set('display_errors', 'on');
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue