summaryrefslogtreecommitdiff
path: root/www/index.php
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2011-04-19 22:13:58 +0200
committerMichael Tänzer <neo@nhng.de>2011-04-19 22:13:58 +0200
commitf3c4fd715d125b83cbb35746787b840431270560 (patch)
tree0d8cc69beac70c32bf904c36236939407566f8c8 /www/index.php
parent1fabfa9cb3c786b4d4f18d45c525e18d84841f13 (diff)
downloadcacert-devel-f3c4fd715d125b83cbb35746787b840431270560.tar.gz
cacert-devel-f3c4fd715d125b83cbb35746787b840431270560.tar.xz
cacert-devel-f3c4fd715d125b83cbb35746787b840431270560.zip
#897: Automatically redirect to the new page and replace original pagebug-897
with a place holder #897: "Prerequisites to do code signing differ in About->Point System and CPS" Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'www/index.php')
-rw-r--r--www/index.php7
1 files changed, 7 insertions, 0 deletions
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);