tbrehm
2007-06-02 277d5699af83ad8e155a613b2db86b0ab3b1ee2b
commit | author | age
9200ad 1 <?php
T 2 /*
3 Copyright (c) 2007, Till Brehm, Falko Timme, projektfarm Gmbh
4 All rights reserved.
5
6 Redistribution and use in source and binary forms, with or without modification,
7 are permitted provided that the following conditions are met:
8
9     * Redistributions of source code must retain the above copyright notice,
10       this list of conditions and the following disclaimer.
11     * Redistributions in binary form must reproduce the above copyright notice,
12       this list of conditions and the following disclaimer in the documentation
13       and/or other materials provided with the distribution.
14     * Neither the name of ISPConfig nor the names of its contributors
15       may be used to endorse or promote products derived from this software without
16       specific prior written permission.
17
18 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
21 IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
22 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
23 BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
25 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
26 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
27 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */
29
30 Header("Pragma: no-cache");
31 Header("Cache-Control: no-store, no-cache, max-age=0, must-revalidate");
32 Header("Content-Type: text/html");
33
34 ini_set('register_globals',0);
35
36 $conf["app_title"] = "ISPConfig";
37 $conf["app_version"] = "3.0.0";
ba747c 38 $conf["server_id"]     = "1";
9200ad 39
T 40
41 /*
42         Database Settings
43 */
44
45 $conf["db_type"]            = 'mysql';
46 $conf["db_host"]            = '{mysql_server_host}';
47 $conf["db_database"]        = '{mysql_server_database}';
48 $conf["db_user"]            = '{mysql_server_ispconfig_user}';
49 $conf["db_password"]        = '{mysql_server_ispconfig_password}';
50
51
52 /*
53    Path Settings (Do not change!)
54 */
55
56 $conf["rootpath"]            = substr(dirname(__FILE__),0,-4);
57 $conf["fs_div"]                = "/"; // File system divider, \\ on windows and / on linux and unix
58 $conf["classpath"]            = $conf["rootpath"].$conf["fs_div"]."lib".$conf["fs_div"]."classes";
59 $conf["temppath"]            = $conf["rootpath"].$conf["fs_div"]."temp";
60
61
62 define("DIR_TRENNER",$conf["fs_div"]);
63 define("SERVER_ROOT",$conf["rootpath"]);
64 define("INCLUDE_ROOT",SERVER_ROOT.DIR_TRENNER."lib");
65 define("CLASSES_ROOT",INCLUDE_ROOT.DIR_TRENNER."classes");
66
67 define("DB_TYPE",$conf["db_type"]);
68 define("DB_HOST",$conf["db_host"]);
69 define("DB_DATABASE",$conf["db_database"]);
70 define("DB_USER",$conf["db_user"]);
71 define("DB_PASSWORD",$conf["db_password"]);
72
73 /*
ba747c 74         Logging
T 75 */
76
77 $conf["log_file"]        = $conf["rootpath"].$conf["fs_div"]."ispconfig.log";
78 $conf["log_priority"]    = 0; // 0 = Debug, 1 = Warning, 2 = Error
79
80 /*
9200ad 81         Themes
T 82 */
83
84 $conf["theme"]                    = 'default';
85 $conf["html_content_encoding"]    = 'text/html; charset=iso-8859-1';
86 $conf["logo"]                     = 'themes/default/images/mydnsconfig_logo.gif';
87
88 /*
89         Default Language
90 */
91
92 $conf["language"]                = 'en';
93
94
95 /*
96         Auto Load Modules
97 */
98
99 $conf["start_db"]        = true;
100 $conf["start_session"]    = true;
101
102 /*
103         DNS Settings
104 */
105
106 $conf["auto_create_ptr"]      = 1; // Automatically create PTR records?
107 $conf["default_ns"]          = 'ns1.example.com.'; // must be set if $conf['auto_create_ptr'] is 1. Don't forget the trailing dot!
108 $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!
109 $conf["default_ttl"]          = 86400;
110 $conf["default_refresh"]      = 28800;
111 $conf["default_retry"]          = 7200;
112 $conf["default_expire"]      = 604800;
113 $conf["default_minimum_ttl"] = 86400;
114
ba747c 115 define("LOGLEVEL_DEBUG",0);
T 116 define("LOGLEVEL_WARN",1);
117 define("LOGLEVEL_ERROR",2);
118
9200ad 119 ?>