mirror of
https://github.com/e107inc/e107.git
synced 2025-02-12 02:24:11 +01:00
Fix for the login.php redirect on how Cameron intended it.
This commit is contained in:
parent
8b617ab084
commit
c6d1fc3dc9
@ -20,7 +20,7 @@
|
||||
require_once("class2.php");
|
||||
include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/lan_'.e_PAGE);
|
||||
|
||||
if (USER || e_LOGIN !='login.php') // Disable page if user logged in, or some custom e_LOGIN value is used.
|
||||
if (USER || e_LOGIN != e_SELF) // Disable page if user logged in, or some custom e_LOGIN value is used.
|
||||
{
|
||||
header('location:'.e_BASE.'index.php');
|
||||
exit();
|
||||
|
Loading…
x
Reference in New Issue
Block a user