]> git.mjollnir.org Git - moodle.git/commitdiff
debug off level is now 5 instead of 7 to prevent E_WARNING on production sites SC...
authorskodak <skodak>
Tue, 22 Aug 2006 22:25:30 +0000 (22:25 +0000)
committerskodak <skodak>
Tue, 22 Aug 2006 22:25:30 +0000 (22:25 +0000)
admin/configvars.php
lib/defaults.php
lib/setup.php

index 9849dcc60f2372f28d20809209774d40dce555a5..a1e0b87f7514d6ab68ec3529b0a27a263ad46e70 100644 (file)
@@ -69,7 +69,7 @@ class configvar {
 
 /// debug
     unset($options);
-    $options[7]  = $strno;
+    $options[5]  = $strno;
     $options[15] = $stryes;
 
     $misc['debug'] = new configvar (get_string('configdebug', 'admin'),
index e9d982eca23f16d44fab66a570e10b582fb94efb..ceeda36d51b6d71513c5defad5bb902592a8bfe9 100644 (file)
@@ -23,7 +23,7 @@
        'country'                  => '',
        'clamfailureonupload'      => 'donothing',
        'dbsessions'               =>  false,
-       'debug'                    =>  7,
+       'debug'                    =>  5,
        'defaultrequestedcategory' =>  1,
        'deleteunconfirmed'        =>  168,
        'denyemailaddresses'       =>  '',
index 42d49d92f5b242ee3f5c6e662611b796f336bff2..3c6b6602a6f9ac1f800622de672b7273f68e2c65 100644 (file)
@@ -221,7 +221,7 @@ global $HTTPSPAGEREQUIRED;
 
 /// 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);