$CFG->debug=0 from config.php is not overriden by setup.php anymore SC#293
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user