Translation is already loaded by libraries/select_lang.lib.php.

This commit is contained in:
Michal Čihař
2008-06-02 13:20:00 +00:00
parent cf0542758a
commit efc4f5a9ba

View File

@@ -557,9 +557,6 @@ if (file_exists('./lang/added_messages.php')) {
*/ */
require_once './libraries/select_lang.lib.php'; require_once './libraries/select_lang.lib.php';
// Load the translation
require_once $lang_path . $available_languages[$GLOBALS['lang']][1] . '.inc.php';
/** /**
* check for errors occurred while loading configuration * check for errors occurred while loading configuration
* this check is done here after loading language files to present errors in locale * this check is done here after loading language files to present errors in locale