$CFG->debug=0 from config.php is not overriden by setup.php anymore SC#293

This commit is contained in:
skodak
2006-08-14 20:55:58 +00:00
parent c26ac7924f
commit 029d0a28bd
+1 -1
View File
@@ -214,7 +214,7 @@ global $HTTPSPAGEREQUIRED;
/// Set error reporting back to normal
if (empty($CFG->debug)) {
if (!isset($CFG->debug)) { // empty() would override 0 or false from config.php
$CFG->debug = 7;
}
error_reporting($CFG->debug);