Returning to classic error_reporting

skala
Julio Montoya 12 years ago
parent aa12c1ba16
commit 9a337c2c2f
  1. 4
      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

Loading…
Cancel
Save