summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-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);