ENDOFHELP;
// No unnecessary error reporting to avoid invalid daemon names
-error_reporting(E_ALL & ~E_STRICT & ~E_NOTICE);
+error_reporting(0);
+ini_set('error_reporting', 0);
+
+// Is xdebug loaded?
+if (extension_loaded('xdebug')) {
+ // Disable even more errors as they may cause unwanted content here
+ ini_set('xdebug.show_error_trace', FALSE);
+ ini_set('xdebug.show_exception_trace', FALSE);
+ ini_set('xdebug.force_display_errors', FALSE);
+ ini_set('xdebug.force_error_reporting', FALSE);
+ ini_set('xdebug.scream', FALSE);
+}
require_once INSTALLDIR.'/scripts/commandline.inc';