From 604450bb13bd2f2d086f7556951171459bbade2a Mon Sep 17 00:00:00 2001 From: Daniel Scharrer Date: Sat, 17 Jan 2009 00:19:17 +0100 Subject: Website: fix old news URLS --- site | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/site b/site index 69da02c..5a7bd46 100644 --- a/site +++ b/site @@ -98,6 +98,13 @@ if (defined("PAGE") and PAGE == "home") $html->redirect("{$config->base_url}announce/{$_GET['announce']}"); exit(); } + + // fix old news URLS + if (isset($_GET['news']) and (intval($_GET['news']) > 0)) + { + $html->redirect("{$config->base_url}news/{$_GET['news']}"); + exit(); + } } // loag page content -- 1.6.0.6