Error reporting for user hide deprecated
This commit is contained in:
@@ -50,7 +50,7 @@
|
|||||||
}
|
}
|
||||||
switch ($error_reporting_scope) {
|
switch ($error_reporting_scope) {
|
||||||
case 'user':
|
case 'user':
|
||||||
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
|
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING ^ E_DEPRECATED);
|
||||||
break;
|
break;
|
||||||
case 'dev':
|
case 'dev':
|
||||||
error_reporting(E_ALL ^ E_NOTICE);
|
error_reporting(E_ALL ^ E_NOTICE);
|
||||||
@@ -59,7 +59,7 @@
|
|||||||
error_reporting(E_ALL);
|
error_reporting(E_ALL);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
|
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING ^ E_DEPRECATED);
|
||||||
}
|
}
|
||||||
|
|
||||||
//get the database connection settings
|
//get the database connection settings
|
||||||
|
|||||||
Reference in New Issue
Block a user