From 3733f1e6c4ffe7dd5036df4dbab4626b083ae7d7 Mon Sep 17 00:00:00 2001 From: skodak Date: Mon, 20 Nov 2006 15:25:38 +0000 Subject: [PATCH] MDL-6332 fixed proper storing of unicodedb flag - after config table creation --- admin/index.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/admin/index.php b/admin/index.php index 26fb7c96eb..fecf7fedd4 100644 --- a/admin/index.php +++ b/admin/index.php @@ -146,8 +146,6 @@ // If could not convert successfully, throw error, and prevent installation print_error('unicoderequired', 'admin'); } - // all new installs are in unicode - keep for backwards compatibility and 1.8 upgrade checks - set_config('unicodedb', 1); $status = false; if (file_exists("$CFG->libdir/db/install.xml")) { @@ -158,6 +156,9 @@ error("Error: Your database ($CFG->dbtype) is not yet fully supported by Moodle or install.xml is not present. See the lib/db directory."); } + // all new installs are in unicode - keep for backwards compatibility and 1.8 upgrade checks + set_config('unicodedb', 1); + /// Continue with the instalation $db->debug = false; if ($status) { -- 2.39.5