summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorBernhard Fröhlich <bernhard@cacert.org>2011-08-02 22:44:12 +0200
committerBernhard Fröhlich <bernhard@cacert.org>2011-08-02 22:44:12 +0200
commit36e6d48f04d4fe4e4c222585bb8ef94944537196 (patch)
tree48b242e6f2dad9b252d4befe620a57b132ba5f28 /www
parent1262ff0b1c8cf748c0dc6ed502d80c579ae672ca (diff)
downloadcacert-devel-36e6d48f04d4fe4e4c222585bb8ef94944537196.tar.gz
cacert-devel-36e6d48f04d4fe4e4c222585bb8ef94944537196.tar.xz
cacert-devel-36e6d48f04d4fe4e4c222585bb8ef94944537196.zip
to add wiki pages for id=13 and id=17
proposed changed og Uli60 from Mantis
Diffstat (limited to 'www')
-rwxr-xr-x[-rw-r--r--]www/index.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/www/index.php b/www/index.php
index 7330877..23f3972 100644..100755
--- a/www/index.php
+++ b/www/index.php
@@ -332,8 +332,6 @@
$_SESSION['_config']['errmsg'] .= _("For your own security you must enter 5 lost password questions and answers.")."<br>";
$_SESSION['_config']['oldlocation'] = "account.php?id=13";
}
- if (checkpwlight($pword) < 3)
- $_SESSION['_config']['oldlocation'] = "account.php?id=14&force=1";
if($_SESSION['_config']['oldlocation'] != "")
header("location: https://".$_SERVER['HTTP_HOST']."/".$_SESSION['_config']['oldlocation']);
else
@@ -629,6 +627,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)
{