From: stronk7 Date: Mon, 27 Mar 2006 12:32:51 +0000 (+0000) Subject: Now $CFG->unicodedb is sent to DB everytime we arrive to the X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=de12ca6a4252b8d19e0ded1984a308957685bd95;p=moodle.git Now $CFG->unicodedb is sent to DB everytime we arrive to the admin/index.php script (installation, upgrade...). This will stop the encoding introspection code present in setup.php --- diff --git a/admin/index.php b/admin/index.php index 47460ae5ed..10df4fce8e 100644 --- a/admin/index.php +++ b/admin/index.php @@ -233,6 +233,9 @@ } } +/// Send $CFG->unicodedb to DB to have it available for next requests + set_config('unicodedb', $CFG->unicodedb); + /// If any new configurations were found then send to the config page to check if (!empty($configchange)) {