|
|
|
@ -395,7 +395,7 @@ if (!empty($_POST['language_list'])) { |
|
|
|
|
$langpath = api_get_path(SYS_LANG_PATH); |
|
|
|
|
|
|
|
|
|
/* This will only work if we are in the page to edit a sub_language */ |
|
|
|
|
if (api_get_self() == api_get_path(REL_PATH).'main/admin/sub_language.php' || api_get_self() == api_get_path(REL_PATH).'main/admin/sub_language_ajax.inc.php') { |
|
|
|
|
if (isset($this_script) && $this_script == 'sub_language') { |
|
|
|
|
require_once '../admin/sub_language.class.php'; |
|
|
|
|
// getting the arrays of files i.e notification, trad4all, etc |
|
|
|
|
$language_files_to_load = SubLanguageManager:: get_lang_folder_files_list(api_get_path(SYS_LANG_PATH).'english', true); |
|
|
|
|