More fixes for reflink and rallye extension
[mailer.git] / inc / config.php
1 <?php
2 /************************************************************************
3  * MXChange v0.2.1                                    Start: 08/25/2003 *
4  * ===============                              Last change: 04/16/2004 *
5  *                                                                      *
6  * -------------------------------------------------------------------- *
7  * File              : config.php                                       *
8  * -------------------------------------------------------------------- *
9  * Short description : Your configuration data (MySQL)                  *
10  * -------------------------------------------------------------------- *
11  * Kurzbeschreibung  : Ihre Konfigurationsdaten (MySQL)                 *
12  * -------------------------------------------------------------------- *
13  *                                                                      *
14  * -------------------------------------------------------------------- *
15  * Copyright (c) 2003 - 2008 by Roland Haeder                           *
16  * For more information visit: http://www.mxchange.org                  *
17  *                                                                      *
18  * This program is free software; you can redistribute it and/or modify *
19  * it under the terms of the GNU General Public License as published by *
20  * the Free Software Foundation; either version 2 of the License, or    *
21  * (at your option) any later version.                                  *
22  *                                                                      *
23  * This program is distributed in the hope that it will be useful,      *
24  * but WITHOUT ANY WARRANTY; without even the implied warranty of       *
25  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        *
26  * GNU General Public License for more details.                         *
27  *                                                                      *
28  * You should have received a copy of the GNU General Public License    *
29  * along with this program; if not, write to the Free Software          *
30  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,               *
31  * MA  02110-1301  USA                                                  *
32  ************************************************************************/
33
34 // Some security stuff...
35 if (!defined('__SECURITY')) {
36         $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
37         require($INC);
38 }
39
40 /************************************************************************
41  *      PLEASE DO NOT EDIT THE COMMENTS! install.php NEEDS THEM!        *
42  ************************************************************************/
43
44 if (function_exists('date_default_timezone_set')) {
45         // CFG: TIME-ZONE
46         @date_default_timezone_set("Europe/Berlin");
47 }
48
49 // Most of these constants are old and deprecated. We don't use them either.
50 // You can still feel free to use them in your templates / scripts if you like :-)
51 define('VERSION', "v0.2.1");
52 define('AUTHOR' , "Roland H&auml;der");
53 define('TITLE', "MXChange - Mail Exchange");
54 define('COPY', "&copy; 2003 - 2008, by <A href=\"http://www.mxchange.org\" target=\"_blank\" rel=\"external\" title=\"{!TITLE!} {!VERSION!}\">Roland H&auml;der</A>");
55
56 // CFG: ERROR_REPORTING
57 @error_reporting(0);
58
59 // CFG: REGISTER-GLOBALS
60 @import_request_variables("");
61
62 // CFG: SITE-KEY
63 define('SITE_KEY', "gg42ny8-4yng23498-mf423igum-mtu248utn42-mf4839gun43");
64
65 // CFG: DATE-KEY
66 define('DATE_KEY', date("d-m-Y (l-F-T)", time()));
67
68 // CFG: DEFAULT-LANGUAGE
69 define('DEFAULT_LANG', "de");
70
71 // CFG: NULLPASS-WARNING
72 define('warn_no_pass', true);
73
74 // CFG: WRITE-FOOTER
75 define('WRITE_FOOTER', true);
76
77 // CFG: OUTPUT-MODE
78 define('OUTPUT_MODE', "render");
79
80 // CFG: MAIN_TITLE
81 define('MAIN_TITLE', "Your mail-exchanger title");
82
83 // CFG: SLOGAN
84 define('SLOGAN', "Your cool slogan here");
85
86 // Auto-detection...
87 $URL = "http://".getenv('SERVER_NAME').dirname($_SERVER['PHP_SELF']);
88 while (substr($URL, -1, 1) == "/") { $URL = substr($URL, 0, -1); }
89 $PATH = substr(dirname(__FILE__), 0, -3);
90
91 // CFG: HOST-URL (without trailing '/' !)
92 define('URL', $URL);
93
94 // CFG: SERVER-PATH
95 define('PATH', $PATH);
96
97 // CFG: WEBMASTER
98 define('WEBMASTER', "you@some-hoster.tld.invalid");
99
100 // CFG: INSTALLED
101 define('mxchange_installed', false);
102
103 // CFG: ADMIN-SETUP
104 define('admin_registered', false);
105
106 // CFG: DEBUG-MODE (if enabled all mails will be *displayed* and *not* send!)
107 define('DEBUG_MODE', false);
108
109 // CFG: DEBUG-MAIL (turn this on if you need to debug mails, only affects if DEBUG_MODE is true)
110 //define('DEBUG_MAIL', true);
111
112 // When we are not installing
113 if (!defined('mxchange_installing')) define('mxchange_installing', false);
114
115 // Your MySQL data (we don't like M$ SQL ;-) )
116 $MySQL = array(
117         // CFG: MYSQL-HOST
118         'host'     => "localhost",
119         // CFG: MYSQL-DBASE
120         'dbase'    => "database",
121         // CFG: MYSQL-LOGIN
122         'login'    => "login",
123         // CFG: MYSQL-PASSWORD
124         'password' => "pass",
125 );
126
127 // CFG: MYSQL-PREIFX
128 define('_MYSQL_PREFIX', "mxchange");
129
130 // CFG: DATABASE-TYPE
131 define('_DB_TYPE', "mysql3");
132
133 // Lead-Code data
134 define('LEAD_CODE_ENABLED', true);
135 define('LEAD_EXPIRY_TIME' , (30*24*60*60)); // == 30 days
136
137 // SMTP-Subsystem (keep all empty to use legacy mail() command!)
138 // CFG: SMTP-HOSTNAME
139 define('SMTP_HOSTNAME', "");
140 // CFG: SMTP-USER
141 define('SMTP_USER', "");
142 // CFG: SMTP-PASSWORD
143 define('SMTP_PASSWORD', "");
144
145 // SSL cookies? (enable only if you have SSL, URLs will begin with https://)
146 define('SSL_COOKIES', false);
147
148 // CFG: BACKLINK (Enable backlink to mxchange.org in footer? rel=external is set!)
149 define('ENABLE_BACKLINK', true);
150
151 // Connect to the MySQL database...
152 require_once(PATH."inc/mysql-connect.php");
153
154 //
155 ?>