summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorBernhard Froehlich <ted@convey.de>2011-09-25 00:12:09 +0200
committerBernhard Froehlich <ted@convey.de>2011-09-25 00:12:09 +0200
commit8de28bd12565f66b7b168767a17210bb29a5a0aa (patch)
treef7c6b676ef31d49cf8dc16435c55ccf6b9c53e63 /www
parent70febad558ab881d3ef15bfb2e955c7409a4a265 (diff)
downloadcacert-devel-8de28bd12565f66b7b168767a17210bb29a5a0aa.tar.gz
cacert-devel-8de28bd12565f66b7b168767a17210bb29a5a0aa.tar.xz
cacert-devel-8de28bd12565f66b7b168767a17210bb29a5a0aa.zip
Changes from https://bugs.cacert.org/view.php?id=965#c2374
Diffstat (limited to 'www')
-rwxr-xr-x[-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..100755
--- 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");