2 /************************************************************************
3 * MXChange v0.2.1 Start: 04/03/2009 *
4 * =============== Last change: 04/03/2009 *
6 * -------------------------------------------------------------------- *
7 * File : config-local.php *
8 * -------------------------------------------------------------------- *
9 * Short description : Local configuration *
10 * -------------------------------------------------------------------- *
11 * Kurzbeschreibung : Lokale Konfiguration *
12 * -------------------------------------------------------------------- *
15 * $Tag:: 0.2.1-FINAL $ *
17 * Needs to be in all Files and every File needs "svn propset *
18 * svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
19 * -------------------------------------------------------------------- *
20 * Copyright (c) 2003 - 2008 by Roland Haeder *
21 * For more information visit: http://www.mxchange.org *
23 * This program is free software; you can redistribute it and/or modify *
24 * it under the terms of the GNU General Public License as published by *
25 * the Free Software Foundation; either version 2 of the License, or *
26 * (at your option) any later version. *
28 * This program is distributed in the hope that it will be useful, *
29 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
30 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
31 * GNU General Public License for more details. *
33 * You should have received a copy of the GNU General Public License *
34 * along with this program; if not, write to the Free Software *
35 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, *
37 ************************************************************************/
39 // Some security stuff...
40 if (!defined('__SECURITY')) {
41 $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
45 /************************************************************************
46 * PLEASE DO NOT EDIT THE COMMENTS! install.php NEEDS THEM! *
47 ************************************************************************/
50 setConfigEntry('SITE_KEY', '');
53 setConfigEntry('DATE_KEY', date('d-m-Y (l-F-T)', time()));
55 // CFG: DEFAULT-LANGUAGE
56 setConfigEntry('DEFAULT_LANG', 'de');
58 // CFG: NULLPASS-WARNING
59 setConfigEntry('WARN_NO_PASS', 'Y');
62 setConfigEntry('WRITE_FOOTER', 'Y');
65 setConfigEntry('OUTPUT_MODE', 'render');
68 setConfigEntry('MXCHANGE_INSTALLED', 'N');
71 setConfigEntry('ADMIN_REGISTERED', 'N');
74 setConfigEntry('_MYSQL_PREFIX', 'mxchange');
77 setConfigEntry('_TABLE_TYPE', 'MyISAM');
80 setConfigEntry('_DB_TYPE', 'mysql3');
82 // CFG: DEBUG-MODE (if enabled all mails will be *displayed* and *not* send!)
83 setConfigEntry('DEBUG_MODE', 'Y');
85 // CFG: BACKLINK (Enable backlink to mxchange.org in footer? rel=external is set!)
86 setConfigEntry('ENABLE_BACKLINK', 'Y');
88 // CFG: DEBUG-RESET (comment in to test daily reset, comment out to not test)
89 //setConfigEntry('DEBUG_RESET', 'Y');
91 // CFG: DEBUG-MONTHLY (comment in to test monthly reset, comment out to not test)
92 //setConfigEntry('DEBUG_MONTHLY', 'Y');
94 // CFG: DEBUG-WEEKLY (comment in to test weekly reset, comment out to not test)
95 //setConfigEntry('DEBUG_WEEKLY', 'Y');
97 // CFG: DEBUG-REGEX (comment in to debug regular expressions)
98 //setConfigEntry('DEBUG_REGEX', 'Y');
100 // Your MySQL data (we don't like M$ SQL ;-) )
101 $GLOBALS['mysql'] = array(
103 'host' => 'localhost',
108 // CFG: MYSQL-PASSWORD
109 'password' => 'pass',
112 // SMTP-Subsystem (keep all empty to use legacy mail() command!)
113 // CFG: SMTP-HOSTNAME
114 setConfigEntry('SMTP_HOSTNAME', '');
116 setConfigEntry('SMTP_USER' , '');
117 // CFG: SMTP-PASSWORD
118 setConfigEntry('SMTP_PASSWORD', '');
120 // @TODO Rewrite the following three constants, somehow...
122 define('MAIN_TITLE', 'Your mail-exchanger title');
125 define('SLOGAN', 'Your cool slogan here');
128 define('WEBMASTER', 'you@some-hoster.tld.invalid');