mirror of
https://github.com/e107inc/e107.git
synced 2025-08-31 02:00:14 +02:00
Issue #927 - e_frontpage.php upgraded to v2.x specifications.
This commit is contained in:
@@ -2,11 +2,27 @@
|
||||
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
e107::lan('forum', 'English_front');
|
||||
// e107::lan('forum', 'English_front');
|
||||
|
||||
/**
|
||||
* @todo - extend array to allow selection of any main forum, as well as the forum front page
|
||||
*/
|
||||
$front_page['forum'] = array('page' => $PLUGINS_DIRECTORY.'forum/forum.php', 'title' => LAN_PLUGIN_FORUM_NAME);
|
||||
// $front_page['forum'] = array('page' =>'{e_PLUGIN}forum/forum.php', 'title' => LAN_PLUGIN_FORUM_NAME);
|
||||
|
||||
//v2.x spec.
|
||||
class forum_frontpage // include plugin-folder in the name.
|
||||
{
|
||||
function config()
|
||||
{
|
||||
|
||||
$frontPage = array(
|
||||
'title' => LAN_PLUGIN_FORUM_NAME,
|
||||
'page' => '{e_PLUGIN}forum/forum.php',
|
||||
);
|
||||
|
||||
return $frontPage;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
Reference in New Issue
Block a user