2 /************************************************************************
3 * Mailer v0.2.1-FINAL Start: 04/03/2009 *
4 * =================== Last change: 04/03/2009 *
6 * -------------------------------------------------------------------- *
7 * File : config-global.php *
8 * -------------------------------------------------------------------- *
9 * Short description : Global configuration *
10 * -------------------------------------------------------------------- *
11 * Kurzbeschreibung : Globale Konfiguration *
12 * -------------------------------------------------------------------- *
13 * Copyright (c) 2003 - 2009 by Roland Haeder *
14 * Copyright (c) 2009 - 2016 by Mailer Developer Team *
15 * For more information visit: http://mxchange.org *
17 * This program is free software; you can redistribute it and/or modify *
18 * it under the terms of the GNU General Public License as published by *
19 * the Free Software Foundation; either version 2 of the License, or *
20 * (at your option) any later version. *
22 * This program is distributed in the hope that it will be useful, *
23 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
25 * GNU General Public License for more details. *
27 * You should have received a copy of the GNU General Public License *
28 * along with this program; if not, write to the Free Software *
29 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, *
31 ************************************************************************/
33 // Some security stuff...
34 if (!defined('__SECURITY')) {
38 /********************************************************************************
39 * Please don't touch anything here. Instead set them again in config-local.php *
40 ********************************************************************************/
42 // Auto-detection of URL
43 $URL = detectServerProtocol() . '://' . detectServerName() . str_replace(chr(92), '/', dirname($_SERVER['PHP_SELF']));
44 while (substr($URL, -1, 1) == '/') { $URL = substr($URL, 0, -1); }
46 // CFG: HOST-URL (without trailing '/' !)
47 setConfigEntry('URL', $URL);
50 setConfigEntry('FLOAT_MASK', '%01.5f');
52 // CFG: DOMAIN-NAME (without trailing '/' !)
53 setConfigEntry('DOMAIN', detectDomainName());
56 setConfigEntry('VERSION', 'v0.2.1');
59 setConfigEntry('AUTHOR' , 'Roland Häder');
62 setConfigEntry('TITLE', 'Mailer-Project');
65 setConfigEntry('COPY', 'Copyright © 2003 - 2009, by Roland Häder,<br />2009 - 2016 by Mailer Developer Team');
68 setConfigEntry('CACHE_PATH', 'inc/cache/');
70 // CFG: CACHE-EXTENSION
71 setConfigEntry('CACHE_EXTENSION', '.cache.php');
73 // CFG: INTERNAL-STATS (This setting is overwritten by ext-other equal and prior version 0.2.7)
74 setConfigEntry('internal_stats', 'N');
76 // CFG: DEBUG-TEMPLATE-CACHE
77 setConfigEntry('DEBUG_TEMPLATE_CACHE', 'Y');
80 setConfigEntry('salt_length', 10);
82 // CFG: MINIMUM-ADMIN-PASS-LENGTH
83 setConfigEntry('minium_admin_pass_length', 4);
85 // Remove maybe conflicting variables