Commit 9b129f8f authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Don't echo debug messages when we are not installed, it prevents the

redirect to the installer happening.
parent 975e5677
......@@ -139,7 +139,9 @@ function log_message ($message, $loglevel, $escape, $file=null, $line=null, $tra
if (is_a($SESSION, 'Session')) {
$SESSION->add_info_msg($htmlbacktrace, false);
else {
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 $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