Browse Source

Returning to classic error_reporting

Julio Montoya 12 years ago
parent
commit
9a337c2c2f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      main/inc/global.inc.php

+ 2 - 2
main/inc/global.inc.php

@@ -307,8 +307,8 @@ if (!$x = strpos($_SERVER['PHP_SELF'], 'whoisonline.php')) {
 // ===== end "who is logged in?" module section =====
 
 if (api_get_setting('server_type') == 'test') {
-    //error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
-    error_reporting(-1);
+    error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
+    //error_reporting(-1);
 } else {
     /*
     Server type is not test