Explorar o código

Update require.php

FusionPBX %!s(int64=2) %!d(string=hai) anos
pai
achega
761c67e995
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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'];