summaryrefslogtreecommitdiff
path: root/www/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/index.php')
-rwxr-xr-x[-rw-r--r--]www/index.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/index.php b/www/index.php
index fb215c6..3afe111 100644..100755
--- a/www/index.php
+++ b/www/index.php
@@ -628,6 +628,20 @@
if(!array_key_exists('signup',$_SESSION) || $_SESSION['signup']['year'] < 1900)
$_SESSION['signup']['year'] = "19XX";
+ if ($id == 8)
+ {
+ $protocol = $_SERVER['HTTPS'] ? 'https' : 'http';
+ $newUrl = $protocol . '://wiki.cacert.org/Board';
+ header('Location: '.$newUrl, true, 301); // 301 = Permanently Moved
+ }
+
+ 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);
showfooter();