1
0
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:
Cameron
2017-03-19 13:15:24 -07:00
parent 0361695509
commit 9b644e4eac

View File

@@ -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");
}