From 6fc833c05bb6994fe5400a3b6c7f12430a734fe1 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Sat, 18 Sep 2010 15:19:37 -0400
Subject: [PATCH] Fixed syntax error in install/lib/installer_base.lib.php

---
 interface/lib/config.inc.php |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/interface/lib/config.inc.php b/interface/lib/config.inc.php
index 6a34dd8..0cb07a4 100644
--- a/interface/lib/config.inc.php
+++ b/interface/lib/config.inc.php
@@ -82,7 +82,7 @@
 
 //** Paths (Do not change!)
 $conf["rootpath"] = substr(dirname(__FILE__),0,-4);
-$conf["fs_div"] = "/"; // File system divider, "\\" on windows and "/"" on linux and unix
+$conf["fs_div"] = "/"; // File system separator (divider), "\\" on Windows and "/"" on Linux and UNIX
 $conf["classpath"] = $conf["rootpath"].$conf["fs_div"]."lib".$conf["fs_div"]."classes";
 $conf["temppath"] = $conf["rootpath"].$conf["fs_div"]."temp";
 
@@ -101,7 +101,16 @@
 
 
 //** Interface
-define('ISPC_INTERFACE_MODULES_ENABLED', 'mail,sites,dns,tools');
+$conf['interface_modules_enabled'] = 'dashboard,mail,sites,dns,tools';
+
+//** Demo mode
+/* The demo mode is an option to restrict certain actions in the interface like 
+*  changing the password of users with sys_userid < 3 etc. to be 
+*  able to run the ISPConfig interface as online demo. It does not
+*  affect the server part. The demo mode should be always set to false
+*  on every normal installation
+*/
+$conf['demo_mode'] = false;
 
 
 //** Logging
@@ -138,4 +147,4 @@
 define("LOGLEVEL_WARN",1);
 define("LOGLEVEL_ERROR",2);
 
-?>
\ No newline at end of file
+?>

--
Gitblit v1.9.1