mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 05:02:02 +02:00
Get rid of 0.6 legacy code in login
This commit is contained in:
parent
98846ed348
commit
2d7704e29f
@ -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,16 +289,8 @@ class userlogin
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (strstr($_SERVER['SERVER_SOFTWARE'], "Apache"))
|
||||
{
|
||||
header("Location: ".$redir);
|
||||
exit();
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "<script type='text/javascript'>document.location.href='{$redir}'</script>\n";
|
||||
}
|
||||
header("Location: ".$redir);
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user