Using error_reporting(-1) if server was set in dev mode

skala
Julio Montoya 12 years ago
parent 5d6b40d239
commit 1ddb770ecc
  1. 3
      main/inc/global.inc.php

@ -307,7 +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(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
error_reporting(-1);
} else {
/*
Server type is not test

Loading…
Cancel
Save