Browse Source

Update require.php

FusionPBX 2 năm trước cách đây
mục cha
commit
761c67e995
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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'];