If platform is in test mode show all warnings.

1.9.x
Julio Montoya 10 years ago
parent 16b460fba5
commit eb87a3ccc6
  1. 4
      main/inc/global.inc.php

@ -318,7 +318,9 @@ if (file_exists($mail_conf)) {
}
if (api_get_setting('server_type') == 'test') {
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
ini_set('display_errors', '1');
ini_set('log_errors', '1');
error_reporting(-1);
} else {
/*
Server type is not test

Loading…
Cancel
Save