Commit da53833c authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

You know it's after 5:30 on a Friday when...

parent f191af06
......@@ -131,7 +131,7 @@ function log_message ($message, $loglevel, $escape, $file=null, $line=null, $tra
if (is_a($SESSION, 'Session')) {
$SESSION->$method($line, false);
}
else if (!get_config('installed')) {
else if (get_config('installed')) {
// Don't output when we are not installed, since this will cause the
// redirect to the install page to fail.
echo $line;
......@@ -141,7 +141,7 @@ function log_message ($message, $loglevel, $escape, $file=null, $line=null, $tra
if (is_a($SESSION, 'Session')) {
$SESSION->add_info_msg($htmlbacktrace, false);
}
else if (!get_config('installed')) {
else if (get_config('installed')) {
echo $htmlbacktrace;
}
}
......
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