diff --git a/main/coursecopy/copy_course_session.php b/main/coursecopy/copy_course_session.php index 84a7b53835..2ae717e6ba 100755 --- a/main/coursecopy/copy_course_session.php +++ b/main/coursecopy/copy_course_session.php @@ -1,5 +1,6 @@ Lots of bug fixes/improvements * @package chamilo.backup */ -/** - * Code - */ -/* INIT SECTION */ // Language files that need to be included $language_file = array('coursebackup', 'admin'); @@ -18,7 +15,8 @@ $language_file = array('coursebackup', 'admin'); $cidReset = true; require_once '../inc/global.inc.php'; $current_course_tool = TOOL_COURSE_MAINTENANCE; -api_protect_course_script(true, true); + +api_protect_global_admin_script(); require_once api_get_path(LIBRARY_PATH).'fileManage.lib.php'; require_once api_get_path(LIBRARY_PATH).'xajax/xajax.inc.php';