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

This commit is contained in:
skodak
2006-08-14 20:57:18 +00:00
parent 508d4a0d14
commit 284ac70210
+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);