From 703865776bd57cae7c6a6b4b8ade1973ffabcc3f Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 26 Nov 2008 12:48:44 +0000 Subject: [PATCH] Made message internationalized git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13044 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/main.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gosa-core/html/main.php b/gosa-core/html/main.php index 5ffd3d92e..0161a23b6 100644 --- a/gosa-core/html/main.php +++ b/gosa-core/html/main.php @@ -61,7 +61,6 @@ if ($_SERVER['REMOTE_ADDR'] != $ui->ip){ exit; } $config= session::get('config'); -$config->check_config_version(); $config->check_and_reload(); /* Enable compressed output */ @@ -127,6 +126,9 @@ setlocale(LC_ALL, $lang); $GLOBALS['t_language']= $lang; $GLOBALS['t_gettext_message_dir'] = $BASE_DIR.'/locale/'; +/* Check if the config is up to date */ +$config->check_config_version(); + /* Set the text domain as 'messages' */ $domain = 'messages'; bindtextdomain($domain, LOCALE_DIR); -- 2.30.2