mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Forum now utilizes THEME_LEGACY check for template loading.
This commit is contained in:
@@ -205,7 +205,7 @@ if(file_exists(THEME.'forum_design.php')) // legacy file
|
||||
|
||||
|
||||
// New in v2.x
|
||||
if(deftrue('BOOTSTRAP',false))
|
||||
if(THEME_LEGACY !== true)
|
||||
{
|
||||
$FORUM_VIEWTOPIC_TEMPLATE = e107::getTemplate('forum','forum_viewtopic');
|
||||
|
||||
@@ -220,7 +220,7 @@ if(deftrue('BOOTSTRAP',false))
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!vartrue($FORUMSTART))
|
||||
if (empty($FORUMSTART))
|
||||
{
|
||||
if(file_exists(THEME.'forum_viewtopic_template.php'))
|
||||
{
|
||||
|
Reference in New Issue
Block a user