// Output message to user and die
if (EXT_IS_ACTIVE("debug")) {
- // Debug extension found! :-)
- // @TODO Can this be rewritten to mxchange_die() ?
- die("Error message written to debug.log. Please try to call <a href=\"".URL."\">the main page</a> to continue.");
+ // Debug extension found! So Output a small message
+ mxchange_die("Error message written to debug.log. Please try to call <a href=\"".URL."\">the main page</a> to continue.");
} else {
// No debug extension found
// @TODO Find a way to rewrite debug_print_backtrace() so we can maybe
'last_update' => time()
);
+// Init important $header variable
+global $header;
+$header = 0;
+
// Init fatal messages
global $FATAL;
$FATAL = array();