1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 01:54:12 +02:00

Issue #125 The require_once() cleanup.

This commit is contained in:
Cameron
2013-02-26 21:43:31 -08:00
parent b8b8a3e726
commit 31e658a2ae
10 changed files with 11 additions and 26 deletions

View File

@@ -32,11 +32,8 @@ include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/admin/lan_'.e_PAGE);
$e_sub_cat = 'frontpage';
require_once ('auth.php');
require_once (e_HANDLER.'form_handler.php');
require_once (e_HANDLER.'message_handler.php');
$mes = e107::getMessage();
require_once (e_HANDLER.'userclass_class.php');
$mes = e107::getMessage();
$frontPref = e107::pref('core'); // Get prefs
@@ -344,7 +341,7 @@ class frontpage
public function __construct($fp)
{
$this->frm = new e_form();
$this->frm = e107::getForm();
$this->frontPage = $fp;
}