1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-18 05:09:05 +01:00
php-e107/e107_plugins/forum/e_frontpage.php

29 lines
566 B
PHP

<?php
if (!defined('e107_INIT')) { exit; }
e107::lan('forum', "front", true);
// 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' =>'{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;
}
}
?>