From 5667a9291050824f4c7c3ca20cce3bbc1e023bff Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Fri, 25 Nov 2005 11:47:33 -0500
Subject: [PATCH] Added DNS module.

---
 interface/lib/config.inc.php |   59 ++++++++++++++++++++++++++++++++++++-----------------------
 1 files changed, 36 insertions(+), 23 deletions(-)

diff --git a/interface/lib/config.inc.php b/interface/lib/config.inc.php
index 0fe510c..137e890 100644
--- a/interface/lib/config.inc.php
+++ b/interface/lib/config.inc.php
@@ -29,54 +29,67 @@
 
 ini_set('register_globals',0);
 
-$conf["rootpath"] 		= "D:\\www\\ispconfig3\\interface";
-//$conf["rootpath"] 		= "D:\\www\\ispconfig3\\interface";
-//$conf["rootpath"] 		= "/home/www/ispconfig3/web/cms";
+$conf["rootpath"]                 = "D:\\www\\ispconfig3\\interface";
+//$conf["rootpath"]                 = "D:\\www\\ispconfig3\\interface";
+//$conf["rootpath"]                 = "/home/www/ispconfig3/web/cms";
 
-$conf["fs_div"] 		= "\\"; // File system 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";
+$conf["fs_div"]                 = "\\"; // File system 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";
 
 
 /*
-	Database Settings
+        Database Settings
 */
 
 
-$conf["db_type"] 		= 'mysql';
-$conf["db_host"] 		= 'localhost';
-$conf["db_database"] 	= 'ispconfig3';
-$conf["db_user"] 		= 'root';
-$conf["db_password"] 	= '';
+$conf["db_type"]                 = 'mysql';
+$conf["db_host"]                 = 'localhost';
+$conf["db_database"]         = 'ispconfig3';
+$conf["db_user"]                 = 'root';
+$conf["db_password"]         = '';
 
 
 /*
-	External programs
+        External programs
 */
 
-//$conf["programs"]["convert"]		= "/usr/bin/convert";
-$conf["programs"]["wput"]			= $conf["rootpath"]."\\tools\\wput\\wput.exe";
+//$conf["programs"]["convert"]                = "/usr/bin/convert";
+$conf["programs"]["wput"]                        = $conf["rootpath"]."\\tools\\wput\\wput.exe";
 
 
 /*
-	Themes
+        Themes
 */
 
-$conf["theme"] 					= 'default';
-$conf["html_content_encoding"]	= 'text/html; charset=iso-8859-1';
+$conf["theme"]                                         = 'default';
+$conf["html_content_encoding"]        = 'text/html; charset=iso-8859-1';
 
 /*
-	Default Language
+        Default Language
 */
 
-$conf['language']		= 'en';
+$conf['language']                = 'en';
 
 
 /*
-	Auto Load Modules
+        Auto Load Modules
 */
 
-$conf["start_db"] 		= true;
-$conf["start_session"] 	= true;
+$conf["start_db"]                 = true;
+$conf["start_session"]         = true;
+
+/*
+        DNS Settings
+*/
+
+$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;
 
 ?>
\ No newline at end of file

--
Gitblit v1.9.1