mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
Fix for broken banner-menu when no template found in theme folder.
This commit is contained in:
@@ -38,8 +38,9 @@ if(file_exists(THEME.'banner_template.php'))
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
require_once (e_THEME.'templates/banner_template.php');
|
require_once (e_PLUGIN.'banner/banner_template.php');
|
||||||
}
|
}
|
||||||
|
|
||||||
$menu_pref = e107::getConfig('menu')->getPref('');
|
$menu_pref = e107::getConfig('menu')->getPref('');
|
||||||
|
|
||||||
if(isset($campaign))
|
if(isset($campaign))
|
||||||
|
Reference in New Issue
Block a user