Index: lib/init/initlib.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- lib/init/initlib.php (date 1539206070074)
+++ lib/init/initlib.php (date 1539206070074)
@@ -508,7 +508,7 @@
$type = 'NOTICE';
break;
default:
- return;
+ return false;
}
$back = "
";
@@ -517,6 +517,7 @@
$back .= "
";
$phpErrors[] = $back;
+ return false;
}
// Patch missing $_SERVER['REQUEST_URI'] on IIS6
Index: lib/setup/error_reporting.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- lib/setup/error_reporting.php (date 1539206227601)
+++ lib/setup/error_reporting.php (date 1539206227601)
@@ -36,6 +36,7 @@
if (php_sapi_name() != 'cli') { // This handler collects errors to display at the bottom of the general template, so don't use it in CLI, otherwise errors would be lost.
set_error_handler('tiki_error_handling', $errorReportingLevel);
+ ini_set('display_errors', '0');
}
error_reporting($errorReportingLevel);