news_list.php 289 B

123456789
  1. <?php
  2. /* For licensing terms, see /license.txt */
  3. //Temporal hack to redirect calls to the new web/index.php
  4. require_once 'main/inc/global.inc.php';
  5. $id = isset($_GET['id']) ? intval($_GET['id']) : null;
  6. $path = api_get_path(WEB_PUBLIC_PATH);
  7. header('Location: '.$path.'news/'.$id);
  8. exit;