浏览代码

Error reporting for user hide deprecated

FusionPBX 2 年之前
父节点
当前提交
113164ee4b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      resources/require.php

+ 2 - 2
resources/require.php

@@ -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