1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-22 16:22:58 +02:00

[ticket/13740] Keep language file's names

PHPBB3-13740
This commit is contained in:
Mate Bartus
2015-07-22 02:42:13 +02:00
parent 136ec8d7e2
commit 11642a5f94
7 changed files with 813 additions and 812 deletions

View File

@@ -122,7 +122,7 @@ if (!isset($config['version_update_from']))
$orig_version = $config['version_update_from'];
$user->add_lang(array('common', 'acp/common', 'old_install', 'migrator'));
$user->add_lang(array('common', 'acp/common', 'install', 'migrator'));
// Add own hook handler, if present. :o
if (file_exists($phpbb_root_path . 'includes/hooks/index.' . $phpEx))

View File

@@ -210,7 +210,7 @@ if (!file_exists($phpbb_root_path . 'language/' . $language) || !is_dir($phpbb_r
}
// And finally, load the relevant language files
$load_lang_files = array('common', 'acp/common', 'acp/board', 'old_install', 'posting');
$load_lang_files = array('common', 'acp/common', 'acp/board', 'install', 'posting');
$new_path = $phpbb_root_path . 'install/update/new/language/' . $language . '/';
$old_path = $phpbb_root_path . 'language/' . $language . '/';