diff options
author | Bernhard Fröhlich <bernhard@cacert.org> | 2011-08-01 21:42:51 +0200 |
---|---|---|
committer | Bernhard Fröhlich <bernhard@cacert.org> | 2011-08-01 21:42:51 +0200 |
commit | 6ed9d98852a006aca4b001c41da12d9c07766b09 (patch) | |
tree | e68b8fa66fa96cfa296d87f7dbdbdfe6241bc1e5 /www | |
parent | 30e4fd6a7e399d343b37b728f1d9cf27aa3c4bc7 (diff) | |
download | cacert-devel-6ed9d98852a006aca4b001c41da12d9c07766b09.tar.gz cacert-devel-6ed9d98852a006aca4b001c41da12d9c07766b09.tar.xz cacert-devel-6ed9d98852a006aca4b001c41da12d9c07766b09.zip |
Changed proposed by Uli60, see https://bugs.cacert.org/view.php?id=910#c2226
Diffstat (limited to 'www')
-rwxr-xr-x[-rw-r--r--] | www/index.php | 14 |
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(); |