1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 20:57:26 +02:00

Get rid of 0.6 legacy code in login

This commit is contained in:
e107steved
2009-07-25 21:18:09 +00:00
parent 98846ed348
commit 2d7704e29f

View File

@@ -12,9 +12,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/login.php,v $
| $Revision: 1.24 $
| $Date: 2009-07-18 13:08:37 $
| $Author: marj_nl_fr $
| $Revision: 1.25 $
| $Date: 2009-07-25 21:18:09 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@@ -289,17 +289,9 @@ class userlogin
}
if (strstr($_SERVER['SERVER_SOFTWARE'], "Apache"))
{
header("Location: ".$redir);
exit();
}
else
{
echo "<script type='text/javascript'>document.location.href='{$redir}'</script>\n";
}
}
// Function called to log the reason for a failed login. Currently always returns false - could return some other value