From 3aaa4cdb41b2a2ab155baaaf1dc99246b788d4a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20T=C3=A4nzer?= Date: Sun, 27 Nov 2011 04:41:40 +0100 Subject: Source code taken from cacert-20111125.tar.bz2 --- www/account.php | 4 ++++ www/index.php | 7 +++++++ 2 files changed, 11 insertions(+) (limited to 'www') diff --git a/www/account.php b/www/account.php index 434053f..d1dd695 100644 --- a/www/account.php +++ b/www/account.php @@ -64,6 +64,10 @@ die("No such file."); } exit; + } else if ($id == 37) { + $protocol = $_SERVER['HTTPS'] ? 'https' : 'http'; + $newUrl = $protocol . '://wiki.cacert.org/FAQ/AboutUs'; + header('Location: '.$newUrl, true, 301); // 301 = Permanently Moved } else { showheader(_("My CAcert.org Account!")); includeit($id, "account"); diff --git a/www/index.php b/www/index.php index a139c4a..5f7fc14 100644 --- a/www/index.php +++ b/www/index.php @@ -632,6 +632,13 @@ if(!array_key_exists('signup',$_SESSION) || $_SESSION['signup']['year'] < 1900) $_SESSION['signup']['year'] = "19XX"; + + if ($id == 12) + { + $protocol = $_SERVER['HTTPS'] ? 'https' : 'http'; + $newUrl = $protocol . '://wiki.cacert.org/FAQ/AboutUs'; + header('Location: '.$newUrl, true, 301); // 301 = Permanently Moved + } if ($id == 19) { -- cgit v1.2.1