Explorar o código

Adding error_reporing E_ALL if server type = test

Julio Montoya %!s(int64=13) %!d(string=hai) anos
pai
achega
2fefc95697
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      main/inc/header.inc.php

+ 1 - 0
main/inc/header.inc.php

@@ -14,6 +14,7 @@
 // Server mode indicator.
 if (api_is_platform_admin()) {
     if (api_get_setting('server_type') == 'test') {
+        error_reporting(E_ALL);
         $mtime = microtime();
         $mtime = explode(" ",$mtime);
         $mtime = $mtime[1] + $mtime[0];