Commit 0193e1f9 authored by Chris Graham's avatar Chris Graham

Fixed MANTIS-4117 (Do not try to show nice errors during bootstrap)

parent 49e79d9c
......@@ -427,8 +427,8 @@ function _generic_exit($text, $template, $support_match_key_messages = false)
$GLOBALS['MSN_DB'] = null;
}
global $EXITING, $MICRO_BOOTUP;
if ((running_script('upgrader')) || ($MICRO_BOOTUP)) {
global $EXITING, $MICRO_BOOTUP, $BOOTSTRAPPING;
if ((running_script('upgrader')) || ($MICRO_BOOTUP) || ($BOOTSTRAPPING)) {
critical_error('PASSON', is_object($text) ? $text->evaluate() : escape_html($text));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment