modified : testing for development mdode

This commit is contained in:
Fahad Abbas 2017-12-19 17:38:44 +05:00
parent a0b2a22dea
commit 3fbcc69f82

View file

@ -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');
}
}