1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-10 16:46:50 +02:00

Fixes #1290, Fixes #1279 Forum backward compatibility issues.

This commit is contained in:
Cameron
2016-01-13 18:07:05 -08:00
parent d396bf8dc9
commit 7a564f639d
10 changed files with 120 additions and 43 deletions

View File

@@ -26,6 +26,20 @@ if (!$e107->isInstalled('forum'))
e107::lan('forum', "front", true);
// include_lan(e_PLUGIN.'forum/languages/'.e_LANGUAGE.'/lan_forum.php'); // using English_front.php now
if(!deftrue('BOOTSTRAP'))
{
$bcDefs = array(
'FORLAN_11' => 'LAN_FORUM_0039',
'FORLAN_12' => 'LAN_FORUM_0040',
'FORLAN_18' => 'LAN_FORUM_0041',
);
e107::getLanguage()->bcDefs($bcDefs);
}
require_once(e_PLUGIN.'forum/forum_class.php');
$forum = new e107forum;