Translation is already loaded by libraries/select_lang.lib.php.
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user