summaryrefslogtreecommitdiff
path: root/www
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
parent00cfe81ecd1d3c86fcecf2f02e28236384794fbd (diff)
downloadcacert-devel-3aaa4cdb41b2a2ab155baaaf1dc99246b788d4a6.tar.gz
cacert-devel-3aaa4cdb41b2a2ab155baaaf1dc99246b788d4a6.tar.xz
cacert-devel-3aaa4cdb41b2a2ab155baaaf1dc99246b788d4a6.zip
Source code taken from cacert-20111125.tar.bz2
Diffstat (limited to 'www')
-rw-r--r--www/account.php4
-rw-r--r--www/index.php7
2 files changed, 11 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");
diff --git a/www/index.php b/www/index.php
index a139c4a..5f7fc14 100644
--- a/www/index.php
+++ b/www/index.php
@@ -632,6 +632,13 @@
if(!array_key_exists('signup',$_SESSION) || $_SESSION['signup']['year'] < 1900)
$_SESSION['signup']['year'] = "19XX";
+
+ if ($id == 12)
+ {
+ $protocol = $_SERVER['HTTPS'] ? 'https' : 'http';
+ $newUrl = $protocol . '://wiki.cacert.org/FAQ/AboutUs';
+ header('Location: '.$newUrl, true, 301); // 301 = Permanently Moved
+ }
if ($id == 19)
{