Source code taken from cacert-20111125.tar.bz2
[cacert.git] / www / index.php
index a139c4a..5f7fc14 100644 (file)
 
        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)
        {