From e562e6bd2584c4668c3c967f1d68ee6337bc8eec Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 27 Mar 2007 02:13:39 +0000 Subject: [PATCH] r1521: We need to move up the loading of includes/language.php in init.php so that we get the gettext mimic functions --- docs/changes.txt | 4 ++++ includes/init.php | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/changes.txt b/docs/changes.txt index 12a59de..9ce820a 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -1,3 +1,7 @@ +1.2.0 Beta 3 +=============================== +- Fixed: If Gettext isn't installed, a function-not-found error would be thrown + 1.2.0 Beta 2 =============================== - Fixed: Emails wouldn't be sent out for new comments due to a bug with updating the notices array diff --git a/includes/init.php b/includes/init.php index 05bc171..0cb7ce4 100755 --- a/includes/init.php +++ b/includes/init.php @@ -62,6 +62,7 @@ unset($database, $servername, $theuser, $password, $thepass, $usepconnect, $tabl require_once('./includes/functions_datastore.php'); require_once('./includes/functions.php'); +require_once('./includes/language.php'); // ################################################################### // init the big three @@ -128,8 +129,6 @@ else // ################################################################### // initialize localization system -require_once('./includes/language.php'); - $language = fetch_user_language(); $stylevar['lang'] = $language['langcode']; -- 2.22.5