quentusrex
2008-10-30 620df024f3d8960a89eb4ed71d3ea61e2b9aa3db
install/tpl/config.inc.php.master
@@ -1,6 +1,6 @@
<?php
/*
Copyright (c) 2007, Till Brehm, Falko Timme, projektfarm Gmbh
Copyright (c) 2008, Till Brehm, Falko Timme, projektfarm Gmbh
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
@@ -27,14 +27,46 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
Header("Pragma: no-cache");
Header("Cache-Control: no-store, no-cache, max-age=0, must-revalidate");
Header("Content-Type: text/html");
//** Web-only
if( !empty($_SERVER['DOCUMENT_ROOT']) ) {
ini_set('register_globals',0);
   Header("Pragma: no-cache");
   Header("Cache-Control: no-store, no-cache, max-age=0, must-revalidate");
   Header("Content-Type: text/html");
   ini_set('register_globals',0);
}
$conf["app_title"] = "ISPConfig";
$conf["app_version"] = "3.0.0";
$conf["modules_available"]    = "admin,mail,sites,monitor,client,dns";
$conf["interface_logout_url"]    = "";
//** Key paramaters
define('ISPC_APP_TITLE', 'ISPConfig');
$conf['app_title'] = 'ISPConfig';
define('ISPC_APP_VERSION', '3.0.0');
$conf['app_version'] = '3.0.0';
$conf['modules_available']    = 'admin,mail,sites,monitor,client,dns';
//** The main ROOT is the parent directory to this file, ie Interface/. NO trailing slashes.
define('ISPC_ROOT_PATH',   realpath(dirname(__FILE__).'/../'));
define('ISPC_LIB_PATH',    ISPC_ROOT_PATH.'/lib');
define('ISPC_CLASS_PATH',  ISPC_ROOT_PATH.'/lib/classes');
define('ISPC_WEB_PATH',    ISPC_ROOT_PATH.'/web');
define('ISPC_THEMES_PATH', ISPC_ROOT_PATH.'/web/themes');
define('ISPC_WEB_TEMP_PATH',   ISPC_WEB_PATH.'/temp'); // Path for downloads, accessible via browser
define('ISPC_CACHE_PATH',  ISPC_ROOT_PATH.'/cache');
//** Interface settings
define('ISPC_INTERFACE_MODULES_ENABLED', 'mail,sites,dns,tools');
/*
   Server variables
*/
$conf["server_id"]    = "{server_id}";
@@ -74,8 +106,15 @@
      Logging
*/
$conf["log_file"]      = $conf["rootpath"].$conf["fs_div"]."ispconfig.log";
$conf["log_priority"]   = 0; // 0 = Debug, 1 = Warning, 2 = Error
$conf["log_file"]      = '/var/log/ispconfig/ispconfig.log';
$conf["log_priority"]   = {ispconfig_log_priority}; // 0 = Debug, 1 = Warning, 2 = Error
/*
      Allow software package installations
*/
$conf['software_updates_enabled'] = false;
/*
        Themes
@@ -91,6 +130,12 @@
$conf["language"]                = 'en';
/*
        Misc.
*/
$conf["interface_logout_url"]    = ""; // example: http://www.domain.tld/
/*
        Auto Load Modules
@@ -100,17 +145,8 @@
$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);