Notice added to always include debug.log in your full bug report
[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 // Your MySQL data (we don't like M$ SQL ;-) )
98 $GLOBALS['mysql'] = array(
99         // CFG: MYSQL-HOST
100         'host'     => "localhost",
101         // CFG: MYSQL-DBASE
102         'dbase'    => "db",
103         // CFG: MYSQL-LOGIN
104         'login'    => "user",
105         // CFG: MYSQL-PASSWORD
106         'password' => "pass",
107 );
108
109 // SMTP-Subsystem (keep all empty to use legacy mail() command!)
110 // CFG: SMTP-HOSTNAME
111 setConfigEntry('SMTP_HOSTNAME', "");
112 // CFG: SMTP-USER
113 setConfigEntry('SMTP_USER'    , "");
114 // CFG: SMTP-PASSWORD
115 setConfigEntry('SMTP_PASSWORD', "");
116
117 // @TODO Rewrite the following three constants, somehow...
118 // CFG: MAIN-TITLE
119 define('MAIN_TITLE', "Your mail-exchanger title");
120
121 // CFG: SLOGAN
122 define('SLOGAN', "Your cool slogan here");
123
124 // CFG: WEBMASTER
125 define('WEBMASTER', "you@some-hoster.tld.invalid");
126
127 //
128 ?>