summaryrefslogtreecommitdiff
path: root/www/account.php
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2011-11-27 04:41:40 +0100
committerMichael Tänzer <neo@nhng.de>2011-11-27 04:41:40 +0100
commit3aaa4cdb41b2a2ab155baaaf1dc99246b788d4a6 (patch)
tree6a5758eb8e578dae82b509c9bc0c8c1b1fb47328 /www/account.php
parent00cfe81ecd1d3c86fcecf2f02e28236384794fbd (diff)
downloadcacert-3aaa4cdb41b2a2ab155baaaf1dc99246b788d4a6.tar.gz
cacert-3aaa4cdb41b2a2ab155baaaf1dc99246b788d4a6.tar.xz
cacert-3aaa4cdb41b2a2ab155baaaf1dc99246b788d4a6.zip
Source code taken from cacert-20111125.tar.bz2
Diffstat (limited to 'www/account.php')
-rw-r--r--www/account.php4
1 files changed, 4 insertions, 0 deletions
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");