From 4f675d3e8d062e2c6bca2c3e45d2930e4cb2dbf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20T=C3=A4nzer?= Date: Mon, 25 Jul 2011 17:38:48 +0200 Subject: Source code taken from cacert-20110722.tar.bz2 --- www/index.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'www') diff --git a/www/index.php b/www/index.php index fb215c6..13e8dc6 100644 --- a/www/index.php +++ b/www/index.php @@ -627,6 +627,13 @@ if(!array_key_exists('signup',$_SESSION) || $_SESSION['signup']['year'] < 1900) $_SESSION['signup']['year'] = "19XX"; + + if ($id == 19) + { + $protocol = $_SERVER['HTTPS'] ? 'https' : 'http'; + $newUrl = $protocol . '://wiki.cacert.org/FAQ/Privileges'; + header('Location: '.$newUrl, true, 301); // 301 = Permanently Moved + } showheader(_("Welcome to CAcert.org")); includeit($id); -- cgit v1.2.1