mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 12:20:44 +02:00
Disable login.php when a custom e_LOGIN is used. (customlogin.php for example)
This commit is contained in:
@@ -2358,8 +2358,12 @@ class e107
|
||||
|
||||
// login/signup
|
||||
define('e_SIGNUP', SITEURL.(file_exists(e_BASE.'customsignup.php') ? 'customsignup.php' : 'signup.php'));
|
||||
define('e_LOGIN', SITEURL.(file_exists(e_BASE.'customlogin.php') ? 'customlogin.php' : 'login.php'));
|
||||
|
||||
|
||||
if(!defined('e_LOGIN'))
|
||||
{
|
||||
define('e_LOGIN', SITEURL.(file_exists(e_BASE.'customlogin.php') ? 'customlogin.php' : 'login.php'));
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user