1234567891011121314151617181920212223242526272829303132333435 |
- <?php
- require_once '../inc/global.inc.php';
- $this_section = SECTION_COURSES;
- $linkId = intval($_GET['link_id']);
- $linkInfo = Link::get_link_info($linkId);
- $linkUrl = html_entity_decode(Security::remove_XSS($linkInfo['url']));
- Event::event_link($linkId);
- header("Cache-Control: no-store, no-cache, must-revalidate");
- header("Cache-Control: post-check=0, pre-check=0", false);
- header("Pragma: no-cache");
- header("Location: $linkUrl");
- exit;
|