1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Include advanced option in e_frontpage.php

This commit is contained in:
Cameron
2017-04-15 08:13:31 -07:00
parent 522badb1e2
commit b637a577cf

View File

@@ -13,6 +13,7 @@ if (!defined('e107_INIT')) { exit; }
//v2.x spec. //v2.x spec.
class _blank_frontpage // include plugin-folder in the name. class _blank_frontpage // include plugin-folder in the name.
{ {
// simple
function config() function config()
{ {
@@ -20,6 +21,26 @@ class _blank_frontpage // include plugin-folder in the name.
return $frontPage; return $frontPage;
} }
// multiple
/*function config()
{
$config = array();
$config['title'] = LAN_PLUGIN__BLANK_NAME;
$config['page'] = array(
0 => array('page' => '{e_PLUGIN}_blank/_blank.php', 'title'=>'Main Page'),
);
return $config;
}
*/
} }