mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Error reporting for user hide deprecated
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
}
|
||||
switch ($error_reporting_scope) {
|
||||
case 'user':
|
||||
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
|
||||
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING ^ E_DEPRECATED);
|
||||
break;
|
||||
case 'dev':
|
||||
error_reporting(E_ALL ^ E_NOTICE);
|
||||
@@ -59,7 +59,7 @@
|
||||
error_reporting(E_ALL);
|
||||
break;
|
||||
default:
|
||||
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
|
||||
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING ^ E_DEPRECATED);
|
||||
}
|
||||
|
||||
//get the database connection settings
|
||||
|
||||
Reference in New Issue
Block a user