mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
Closes #2507 - v2 template path fix.
This commit is contained in:
@@ -5,7 +5,11 @@ e107::includeLan(e_PLUGIN."search_menu/languages/".e_LANGUAGE.".php");
|
||||
$text = "";
|
||||
if (!isset($SEARCH_SHORTCODE))
|
||||
{
|
||||
if (file_exists(THEME."search_template.php"))
|
||||
if (file_exists(THEME."templates/search_template.php"))
|
||||
{
|
||||
include(THEME."templates/search_template.php");
|
||||
}
|
||||
elseif (file_exists(THEME."search_template.php"))
|
||||
{
|
||||
include(THEME."search_template.php");
|
||||
}
|
||||
|
Reference in New Issue
Block a user