| <?php |
| /** |
| * Copyright (c) 2007, 2013, 2018, 2019 Eclipse Foundation. |
| * |
| * This program and the accompanying materials are made |
| * available under the terms of the Eclipse Public License 2.0 |
| * which is available at https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * Contributors: |
| * Denis Roy (Eclipse Foundation) - initial implementation |
| * Christopher Guindon (Eclipse Foundation) |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| */ |
| |
| require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/classes/ads/redirector.class.php"); |
| require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); |
| |
| $App = new App(); |
| $ts = gmdate("D, d M Y H:i:s") . " GMT"; |
| header("Cache-Control: no-cache, must-revalidate"); |
| header("Pragma: no-cache"); |
| header("Last-Modified: ". $ts); |
| header("Expires:" . $ts); |
| |
| $Redirector = new Redirector(); |
| $Redirector->setTags($App->getHTTPParameter("tag", "GET")); |
| $Redirector->setImpressionId($App->getHTTPParameter("impression_id", "GET")); |
| $Redirector->redirect(); |