diff --git a/main/admin/special_exports.php b/main/admin/special_exports.php index c12a93a3c6..e8fccab6ef 100644 --- a/main/admin/special_exports.php +++ b/main/admin/special_exports.php @@ -12,11 +12,12 @@ // name of the language file that needs to be included $language_file = array ('admin'); // including the global file +$cidReset = true; include ('../inc/global.inc.php'); // setting the section (for the tabs) $this_section = SECTION_PLATFORM_ADMIN; // setting breadcrumbs -$interbreadcrumb[] = array ("url" => '#', "name" => get_lang('PlatformAdmin')); +$interbreadcrumb[] = array ("url" => 'index.php', "name" => get_lang('PlatformAdmin')); // Access restrictions api_protect_admin_script(true); $nameTools = get_lang('SpecialExports'); diff --git a/main/admin/user_import.php b/main/admin/user_import.php old mode 100755 new mode 100644 index 1843a5968c..755d64c47b --- a/main/admin/user_import.php +++ b/main/admin/user_import.php @@ -264,9 +264,9 @@ function parse_xml_data($file) { } $cidReset = true; +include ('../inc/global.inc.php'); $this_section = SECTION_PLATFORM_ADMIN; api_protect_admin_script(); - require_once api_get_path(LIBRARY_PATH).'fileManage.lib.php'; require_once api_get_path(LIBRARY_PATH).'usermanager.lib.php'; require_once api_get_path(LIBRARY_PATH).'classmanager.lib.php'; @@ -280,7 +280,7 @@ if (is_array($extAuthSource)) { $tool_name = get_lang('ImportUserListXMLCSV'); -$interbreadcrumb[] = array ('url' => 'index.php', 'name' => get_lang('PlatformAdmin')); +$interbreadcrumb[] = array ("url" => 'index.php', "name" => get_lang('PlatformAdmin')); set_time_limit(0); $extra_fields = Usermanager::get_extra_fields(0, 0, 5, 'ASC', false);