浏览代码

Update require.php

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

+ 3 - 1
resources/require.php

@@ -42,7 +42,9 @@
 
 //set the error reporting
 	ini_set('display_errors', '1');
-	error_reporting($conf['error.reporting']);
+	//error_reporting($conf['error.reporting']);
+        error_reporting (E_ALL ^ E_NOTICE); // hide notices
+
 
 //get the database connection settings
 	//$db_type = $settings['database']['type'];