Filter support added to template engine, functions renamed
[mailer.git] / inc / config-local.php.dist
1 <?php
2 /************************************************************************
3  * Mailer v0.2.1-FINAL                                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-TEMPLATE-CACHE
88 setConfigEntry('DEBUG_TEMPLATE_CACHE', 'N');
89
90 // CFG: DEBUG-SQL (Logs all queries to inc/cache/mysql.log)
91 //setConfigEntry('DEBUG_SQL', 'Y');
92
93 // CFG: DEBUG-RESET (comment in to test daily reset, comment out to not test)
94 //setConfigEntry('DEBUG_RESET', 'Y');
95
96 // CFG: DEBUG-WEEKLY (comment in to test weekly reset, comment out to not test)
97 //setConfigEntry('DEBUG_WEEKLY', 'Y');
98
99 // CFG: DEBUG-MONTHLY (comment in to test monthly reset, comment out to not test)
100 //setConfigEntry('DEBUG_MONTHLY', 'Y');
101
102 // CFG: DEBUG-REGEX (comment in to debug regular expressions)
103 //setConfigEntry('DEBUG_REGEX', 'Y');
104
105 // Your MySQL data (we don't like M$ SQL ;-) )
106 $GLOBALS['mysql'] = array(
107         // CFG: MYSQL-HOST
108         'host'     => 'localhost',
109         // CFG: MYSQL-DBASE
110         'dbase'    => 'db',
111         // CFG: MYSQL-LOGIN
112         'login'    => 'user',
113         // CFG: MYSQL-PASSWORD
114         'password' => 'pass',
115 );
116
117 // SMTP-Subsystem (keep all empty to use legacy mail() command!)
118 // CFG: SMTP-HOSTNAME
119 setConfigEntry('SMTP_HOSTNAME', '');
120 // CFG: SMTP-USER
121 setConfigEntry('SMTP_USER'    , '');
122 // CFG: SMTP-PASSWORD
123 setConfigEntry('SMTP_PASSWORD', '');
124
125 // @TODO Rewrite the following three constants, somehow...
126 // CFG: MAIN-TITLE
127 setConfigEntry('MAIN_TITLE', 'Your mail-exchanger title');
128
129 // CFG: SLOGAN
130 setConfigEntry('SLOGAN', 'Your cool slogan here');
131
132 // CFG: WEBMASTER
133 setConfigEntry('WEBMASTER', 'you@some-hoster.tld.invalid');
134
135 // [EOF]
136 ?>