Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

debug off level is now 5 instead of 7 to prevent E_WARNING on product…

…ion sites SC#294
  • Loading branch information...
commit cd7911506974ddcbd9576213be801997426771ac 1 parent cd1e684
skodak authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  admin/configvars.php
  2. +1 −1  lib/defaults.php
  3. +1 −1  lib/setup.php
View
2  admin/configvars.php
@@ -69,7 +69,7 @@ function display_warning() {
/// debug
unset($options);
- $options[7] = $strno;
+ $options[5] = $strno;
$options[15] = $stryes;
$misc['debug'] = new configvar (get_string('configdebug', 'admin'),
View
2  lib/defaults.php
@@ -23,7 +23,7 @@
'country' => '',
'clamfailureonupload' => 'donothing',
'dbsessions' => false,
- 'debug' => 7,
+ 'debug' => 5,
'defaultrequestedcategory' => 1,
'deleteunconfirmed' => 168,
'denyemailaddresses' => '',
View
2  lib/setup.php
@@ -215,7 +215,7 @@
/// Set error reporting back to normal
if (!isset($CFG->debug)) { // empty() would override 0 or false from config.php
- $CFG->debug = 7;
+ $CFG->debug = 5;
}
error_reporting($CFG->debug);
Please sign in to comment.
Something went wrong with that request. Please try again.