From f17e5b0b58eb420c40ca37cde95fc91842a96f04 Mon Sep 17 00:00:00 2001
From: pedro_morgan <pedro_morgan@ispconfig3>
Date: Fri, 17 Aug 2007 05:23:48 -0400
Subject: [PATCH] Tidied up app.inc.php * now php5 class  * Inctroducted $_loaded_modules class var to silence "undefined property" error * Cleaned code to PEAR standards

---
 install/tpl/config.inc.php.master |   27 ++++++++++++++++++---------
 1 files changed, 18 insertions(+), 9 deletions(-)

diff --git a/install/tpl/config.inc.php.master b/install/tpl/config.inc.php.master
index 7915029..c9f998a 100644
--- a/install/tpl/config.inc.php.master
+++ b/install/tpl/config.inc.php.master
@@ -35,6 +35,13 @@
 
 $conf["app_title"] = "ISPConfig";
 $conf["app_version"] = "3.0.0";
+$conf["modules_available"] 	= "admin,mail,sites,monitor,client,dns";
+
+/*
+	Server variables
+*/
+
+$conf["server_id"] 	= "{server_id}";
 
 
 /*
@@ -70,6 +77,13 @@
 define("DB_PASSWORD",$conf["db_password"]);
 
 /*
+		Logging
+*/
+
+$conf["log_file"]		= $conf["rootpath"].$conf["fs_div"]."ispconfig.log";
+$conf["log_priority"]	= 0; // 0 = Debug, 1 = Warning, 2 = Error
+
+/*
         Themes
 */
 
@@ -92,16 +106,11 @@
 $conf["start_session"]	= true;
 
 /*
-        DNS Settings
+	Constants
 */
 
-$conf["auto_create_ptr"] 	 = 1; // Automatically create PTR records?
-$conf["default_ns"] 		 = 'ns1.example.com.'; // must be set if $conf['auto_create_ptr'] is 1. Don't forget the trailing dot!
-$conf["default_mbox"] 		 = 'admin.example.com.'; // Admin email address. Must be set if $conf['auto_create_ptr'] is 1. Replace "@" with ".". Don't forget the trailing dot!
-$conf["default_ttl"] 		 = 86400;
-$conf["default_refresh"] 	 = 28800;
-$conf["default_retry"] 		 = 7200;
-$conf["default_expire"] 	 = 604800;
-$conf["default_minimum_ttl"] = 86400;
+define("LOGLEVEL_DEBUG",0);
+define("LOGLEVEL_WARN",1);
+define("LOGLEVEL_ERROR",2);
 
 ?>
\ No newline at end of file

--
Gitblit v1.9.1