mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 15:16:30 +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 = "";
|
$text = "";
|
||||||
if (!isset($SEARCH_SHORTCODE))
|
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");
|
include(THEME."search_template.php");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user