diff options
author | Michael Tänzer <neo@nhng.de> | 2011-11-27 04:41:40 +0100 |
---|---|---|
committer | Michael Tänzer <neo@nhng.de> | 2011-11-27 04:41:40 +0100 |
commit | 3aaa4cdb41b2a2ab155baaaf1dc99246b788d4a6 (patch) | |
tree | 6a5758eb8e578dae82b509c9bc0c8c1b1fb47328 /www | |
parent | 00cfe81ecd1d3c86fcecf2f02e28236384794fbd (diff) | |
download | cacert-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.php | 4 | ||||
-rw-r--r-- | www/index.php | 7 |
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) { |