mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Fix for the login.php redirect on how Cameron intended it.
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user