Some fixes for surfbar extension (#123), double->single, misc cleanups/fixes
[mailer.git] / inc / config-local.php.dist
1 <?php
2 /************************************************************************
3  * MXChange v0.2.1                                    Start: 04/03/2009 *
4  * ===============                              Last change: 04/03/2009 *
5  *                                                                      *
6  * -------------------------------------------------------------------- *
7  * File              : config-local.php                                 *
8  * -------------------------------------------------------------------- *
9  * Short description : Local configuration                              *
10  * -------------------------------------------------------------------- *
11  * Kurzbeschreibung  : Lokale Konfiguration                             *
12  * -------------------------------------------------------------------- *
13  * $Revision::                                                        $ *
14  * $Date::                                                            $ *
15  * $Tag:: 0.2.1-FINAL                                                 $ *
16  * $Author::                                                          $ *
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                  *
22  *                                                                      *
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.                                  *
27  *                                                                      *
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.                         *
32  *                                                                      *
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,               *
36  * MA  02110-1301  USA                                                  *
37  ************************************************************************/
38
39 // Some security stuff...
40 if (!defined('__SECURITY')) {
41         $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
42         require($INC);
43 } // END - if
44
45 /************************************************************************
46  *      PLEASE DO NOT EDIT THE COMMENTS! install.php NEEDS THEM!        *
47  ************************************************************************/
48
49 // CFG: SITE-KEY
50 setConfigEntry('SITE_KEY', '');
51
52 // CFG: DATE-KEY
53 setConfigEntry('DATE_KEY', date('d-m-Y (l-F-T)', time()));
54
55 // CFG: DEFAULT-LANGUAGE
56 setConfigEntry('DEFAULT_LANG', 'de');
57
58 // CFG: NULLPASS-WARNING
59 setConfigEntry('WARN_NO_PASS', 'Y');
60
61 // CFG: WRITE-FOOTER
62 setConfigEntry('WRITE_FOOTER', 'Y');
63
64 // CFG: OUTPUT-MODE
65 setConfigEntry('OUTPUT_MODE', 'render');
66
67 // CFG: INSTALLED
68 setConfigEntry('MXCHANGE_INSTALLED', 'N');
69
70 // CFG: ADMIN-SETUP
71 setConfigEntry('ADMIN_REGISTERED', 'N');
72
73 // CFG: MYSQL-PREFIX
74 setConfigEntry('_MYSQL_PREFIX', 'mxchange');
75
76 // CFG: TABLE-TYPE
77 setConfigEntry('_TABLE_TYPE', 'MyISAM');
78
79 // CFG: DATABASE-TYPE
80 setConfigEntry('_DB_TYPE', 'mysql3');
81
82 // CFG: DEBUG-MODE (if enabled all mails will be *displayed* and *not* send!)
83 setConfigEntry('DEBUG_MODE', 'Y');
84
85 // CFG: BACKLINK (Enable backlink to mxchange.org in footer? rel=external is set!)
86 setConfigEntry('ENABLE_BACKLINK', 'Y');
87
88 // CFG: DEBUG-RESET (comment in to test daily reset, comment out to not test)
89 //setConfigEntry('DEBUG_RESET', 'Y');
90
91 // CFG: DEBUG-MONTHLY (comment in to test monthly reset, comment out to not test)
92 //setConfigEntry('DEBUG_MONTHLY', 'Y');
93
94 // CFG: DEBUG-WEEKLY (comment in to test weekly reset, comment out to not test)
95 //setConfigEntry('DEBUG_WEEKLY', 'Y');
96
97 // CFG: DEBUG-REGEX (comment in to debug regular expressions)
98 //setConfigEntry('DEBUG_REGEX', 'Y');
99
100 // Your MySQL data (we don't like M$ SQL ;-) )
101 $GLOBALS['mysql'] = array(
102         // CFG: MYSQL-HOST
103         'host'     => 'localhost',
104         // CFG: MYSQL-DBASE
105         'dbase'    => 'db',
106         // CFG: MYSQL-LOGIN
107         'login'    => 'user',
108         // CFG: MYSQL-PASSWORD
109         'password' => 'pass',
110 );
111
112 // SMTP-Subsystem (keep all empty to use legacy mail() command!)
113 // CFG: SMTP-HOSTNAME
114 setConfigEntry('SMTP_HOSTNAME', '');
115 // CFG: SMTP-USER
116 setConfigEntry('SMTP_USER'    , '');
117 // CFG: SMTP-PASSWORD
118 setConfigEntry('SMTP_PASSWORD', '');
119
120 // @TODO Rewrite the following three constants, somehow...
121 // CFG: MAIN-TITLE
122 define('MAIN_TITLE', 'Your mail-exchanger title');
123
124 // CFG: SLOGAN
125 define('SLOGAN', 'Your cool slogan here');
126
127 // CFG: WEBMASTER
128 define('WEBMASTER', 'you@some-hoster.tld.invalid');
129
130 //
131 ?>