From d75f0807d3d054fba633ffef4e4785900d05de6e Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Sat, 02 Aug 2008 05:08:03 -0400
Subject: [PATCH] - Enabled tools module for administrator by default. - Updated Ubuntu installation instructions.
---
interface/web/index.php | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/interface/web/index.php b/interface/web/index.php
index 28476f2..419f755 100644
--- a/interface/web/index.php
+++ b/interface/web/index.php
@@ -28,12 +28,15 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+error_reporting(E_ALL|E_STRICT);
+
require_once('../lib/config.inc.php');
require_once('../lib/app.inc.php');
$app->uses('tpl');
-$app->tpl->newTemplate("main.tpl.htm");
+$app->tpl->newTemplate('main.tpl.htm');
+/*
// Checke User Login and current module
if(!is_array($_SESSION["s"]['user']) or !is_array($_SESSION["s"]["module"])) {
@@ -91,6 +94,8 @@
$app->tpl->setVar('startpage',$_SESSION["s"]["module"]["startpage"]);
$app->tpl->setVar('navframe_page',$_SESSION["s"]["module"]["navframe_page"]);
+*/
+
$app->tpl_defaults();
$app->tpl->pparse();
?>
\ No newline at end of file
--
Gitblit v1.9.1