mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 04:32:01 +02:00
correct path to templates for not logged user
correct path to templates for not logged user
This commit is contained in:
parent
14a403d0de
commit
3aa27f543b
@ -161,7 +161,11 @@ else
|
||||
{
|
||||
//get templates
|
||||
if (!$LOGIN_MENU_FORM || !$LOGIN_MENU_MESSAGE) {
|
||||
if (file_exists(THEME."login_menu_template.php")){
|
||||
if (file_exists(THEME.'templates/login_menu/login_menu_template.php')) // Preferred v2.x location.
|
||||
{
|
||||
require(THEME.'templates/login_menu/login_menu_template.php');
|
||||
}
|
||||
elseif (file_exists(THEME."login_menu_template.php")){
|
||||
require_once(THEME."login_menu_template.php");
|
||||
}else{
|
||||
require_once(e_PLUGIN."login_menu/login_menu_template.php");
|
||||
|
Loading…
x
Reference in New Issue
Block a user