Fixes for installation phase
[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         die();
42 } // END - if
43
44 /************************************************************************
45  *      PLEASE DO NOT EDIT THE COMMENTS! install.php NEEDS THEM!        *
46  ************************************************************************/
47
48 // CFG: SITE-KEY
49 setConfigEntry('SITE_KEY', '');
50
51 // CFG: DATE-KEY
52 setConfigEntry('DATE_KEY', date('d-m-Y (l-F-T)', time()));
53
54 // CFG: DEFAULT-LANGUAGE
55 setConfigEntry('DEFAULT_LANG', 'de');
56
57 // CFG: NULLPASS-WARNING
58 setConfigEntry('WARN_NO_PASS', 'Y');
59
60 // CFG: WRITE-FOOTER
61 setConfigEntry('WRITE_FOOTER', 'Y');
62
63 // CFG: OUTPUT-MODE
64 setConfigEntry('OUTPUT_MODE', 'render');
65
66 // CFG: INSTALLED
67 setConfigEntry('MXCHANGE_INSTALLED', 'N');
68
69 // CFG: ADMIN-SETUP
70 setConfigEntry('ADMIN_REGISTERED', 'N');
71
72 // CFG: MYSQL-PREFIX
73 setConfigEntry('_MYSQL_PREFIX', 'mxchange');
74
75 // CFG: TABLE-TYPE
76 setConfigEntry('_TABLE_TYPE', 'MyISAM');
77
78 // CFG: DATABASE-TYPE
79 setConfigEntry('_DB_TYPE', 'mysql3');
80
81 // CFG: BACKLINK (Enable backlink to mxchange.org in footer? rel=external is set!)
82 setConfigEntry('ENABLE_BACKLINK', 'Y');
83
84 // CFG: DEBUG-MODE (if enabled all mails will be *displayed* and *not* send!)
85 setConfigEntry('DEBUG_MODE', 'Y');
86
87 // CFG: DEBUG-SQL (Logs all queries to inc/cache/mysql.log)
88 //setConfigEntry('DEBUG_SQL', 'Y');
89
90 // CFG: DEBUG-RESET (comment in to test daily reset, comment out to not test)
91 //setConfigEntry('DEBUG_RESET', 'Y');
92
93 // CFG: DEBUG-WEEKLY (comment in to test weekly reset, comment out to not test)
94 //setConfigEntry('DEBUG_WEEKLY', 'Y');
95
96 // CFG: DEBUG-MONTHLY (comment in to test monthly reset, comment out to not test)
97 //setConfigEntry('DEBUG_MONTHLY', 'Y');
98
99 // CFG: DEBUG-REGEX (comment in to debug regular expressions)
100 //setConfigEntry('DEBUG_REGEX', 'Y');
101
102 // Your MySQL data (we don't like M$ SQL ;-) )
103 $GLOBALS['mysql'] = array(
104         // CFG: MYSQL-HOST
105         'host'     => 'localhost',
106         // CFG: MYSQL-DBASE
107         'dbase'    => 'db',
108         // CFG: MYSQL-LOGIN
109         'login'    => 'user',
110         // CFG: MYSQL-PASSWORD
111         'password' => 'pass',
112 );
113
114 // SMTP-Subsystem (keep all empty to use legacy mail() command!)
115 // CFG: SMTP-HOSTNAME
116 setConfigEntry('SMTP_HOSTNAME', '');
117 // CFG: SMTP-USER
118 setConfigEntry('SMTP_USER'    , '');
119 // CFG: SMTP-PASSWORD
120 setConfigEntry('SMTP_PASSWORD', '');
121
122 // @TODO Rewrite the following three constants, somehow...
123 // CFG: MAIN-TITLE
124 setConfigEntry('MAIN_TITLE', 'Your mail-exchanger title');
125
126 // CFG: SLOGAN
127 setConfigEntry('SLOGAN', 'Your cool slogan here');
128
129 // CFG: WEBMASTER
130 setConfigEntry('WEBMASTER', 'you@some-hoster.tld.invalid');
131
132 // [EOF]
133 ?>