Jeremy Newman : fix old announce URLs
Module: website Branch: master Commit: 9f696588a8d1d6984905798011b764b8a566bff9 URL: http://source.winehq.org/git/website.git/?a=commit;h=9f696588a8d1d6984905798... Author: Jeremy Newman <jnewman(a)codeweavers.com> Date: Thu Jan 8 10:49:54 2009 -0600 fix old announce URLs --- site | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/site b/site index 209c6b8..69da02c 100644 --- a/site +++ b/site @@ -91,6 +91,13 @@ if (defined("PAGE") and PAGE == "home") $html->redirect("{$config->base_url}interview/{$_GET['interview']}"); exit(); } + + // fix old announce URLS + if (isset($_GET['announce']) and (intval($_GET['announce']) > 0 or $_GET['announce'] == 'latest')) + { + $html->redirect("{$config->base_url}announce/{$_GET['announce']}"); + exit(); + } } // loag page content
participants (1)
-
Jeremy Newman