@ -26,7 +26,8 @@ if (isset($_SESSION['this_section']))
/* Included libraries */
require_once './main/inc/global.inc.php';
require_once api_get_path(LIBRARY_PATH).'userportal.lib.php';
$this_section = SECTION_COURSES;
api_block_anonymous_users(); // Only users who are logged in can proceed.
@ -76,7 +77,6 @@ if (api_get_setting('go_to_course_after_login') == 'true') {
}
$nameTools = get_lang('MyCourses');
/*
Header