<?php
/************************************************************************
- * MXChange v0.2.1 Start: 04/03/2009 *
- * =============== Last change: 04/03/2009 *
+ * Mailer v0.2.1-FINAL Start: 04/03/2009 *
+ * =================== Last change: 04/03/2009 *
* *
* -------------------------------------------------------------------- *
* File : config-local.php *
* $Date:: $ *
* $Tag:: 0.2.1-FINAL $ *
* $Author:: $ *
- * Needs to be in all Files and every File needs "svn propset *
- * svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2008 by Roland Haeder *
- * For more information visit: http://www.mxchange.org *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team *
+ * For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
// Some security stuff...
if (!defined('__SECURITY')) {
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
- require($INC);
+ die();
} // END - if
/************************************************************************
************************************************************************/
// CFG: SITE-KEY
-setConfigEntry('SITE_KEY', "");
+setConfigEntry('SITE_KEY', '');
// CFG: DATE-KEY
-setConfigEntry('DATE_KEY', date("d-m-Y (l-F-T)", time()));
+setConfigEntry('DATE_KEY', generateDateTime(time(), '5'));
// CFG: DEFAULT-LANGUAGE
-setConfigEntry('DEFAULT_LANG', "de");
+setConfigEntry('DEFAULT_LANG', 'de');
// CFG: NULLPASS-WARNING
-setConfigEntry('WARN_NO_PASS', "Y");
+setConfigEntry('WARN_NO_PASS', 'Y');
// CFG: WRITE-FOOTER
-setConfigEntry('WRITE_FOOTER', "Y");
+setConfigEntry('WRITE_FOOTER', 'Y');
// CFG: OUTPUT-MODE
-setConfigEntry('OUTPUT_MODE', "render");
+setConfigEntry('OUTPUT_MODE', 'render');
// CFG: INSTALLED
-setConfigEntry('MXCHANGE_INSTALLED', "N");
+setConfigEntry('MAILER_INSTALLED', 'N');
// CFG: ADMIN-SETUP
-setConfigEntry('ADMIN_REGISTERED', "N");
+setConfigEntry('ADMIN_REGISTERED', 'N');
-// CFG: MYSQL-PREIFX
-setConfigEntry('_MYSQL_PREFIX', "mxchange");
+// CFG: MYSQL-PREFIX
+setConfigEntry('_MYSQL_PREFIX', 'mxchange');
// CFG: TABLE-TYPE
-setConfigEntry('_TABLE_TYPE', "MyISAM");
+setConfigEntry('_TABLE_TYPE', 'MyISAM');
// CFG: DATABASE-TYPE
-setConfigEntry('_DB_TYPE', "mysql3");
-
-// CFG: DEBUG-MODE (if enabled all mails will be *displayed* and *not* send!)
-setConfigEntry('DEBUG_MODE', "Y");
+setConfigEntry('_DB_TYPE', 'mysql3');
// CFG: BACKLINK (Enable backlink to mxchange.org in footer? rel=external is set!)
setConfigEntry('ENABLE_BACKLINK', 'Y');
-// CFG: DEBUG-RESET (comment in to test daily reset, comment out to not test)
-//setConfigEntry('DEBUG_RESET', "Y");
+// CFG: DEBUG-MODE (if enabled all mails will be *displayed* and *not* send!)
+setConfigEntry('DEBUG_MODE', 'N');
-// CFG: DEBUG-MONTHLY (comment in to test monthly reset, comment out to not test)
-//setConfigEntry('DEBUG_MONTHLY', "Y");
+// CFG: DEBUG-TEMPLATE-CACHE
+setConfigEntry('DEBUG_TEMPLATE_CACHE', 'N');
+
+// CFG: DEBUG-SQL (Logs all queries to inc/cache/mysql.log)
+//setConfigEntry('DEBUG_SQL', 'Y');
+
+// CFG: DEBUG-HOURLY (comment in to test hourly reset, comment out to not test)
+//setConfigEntry('DEBUG_HOURLY', 'Y');
+
+// CFG: DEBUG-DAILY (comment in to test daily reset, comment out to not test)
+//setConfigEntry('DEBUG_DAILY', 'Y');
// CFG: DEBUG-WEEKLY (comment in to test weekly reset, comment out to not test)
-//setConfigEntry('DEBUG_WEEKLY', "Y");
+//setConfigEntry('DEBUG_WEEKLY', 'Y');
+
+// CFG: DEBUG-MONTHLY (comment in to test monthly reset, comment out to not test)
+//setConfigEntry('DEBUG_MONTHLY', 'Y');
+
+// CFG: DEBUG-REGEX (comment in to debug regular expressions)
+//setConfigEntry('DEBUG_REGEX', 'Y');
+
+// CFG: DEBUG-BUILD-MAILS
+//setConfigEntry('DEBUG_BUILD_MAILS', 'Y');
+
+// CFG: ALLOW-TESTER-ACCOUNTS (comment in to allow tester accounts being re-included)
+//setConfigEntry('ALLOW_TESTER_ACCOUNTS', 'Y');
// Your MySQL data (we don't like M$ SQL ;-) )
$GLOBALS['mysql'] = array(
// CFG: MYSQL-HOST
- 'host' => "localhost",
+ 'host' => 'localhost',
// CFG: MYSQL-DBASE
- 'dbase' => "db",
+ 'dbase' => 'db',
// CFG: MYSQL-LOGIN
- 'login' => "user",
+ 'login' => 'user',
// CFG: MYSQL-PASSWORD
- 'password' => "pass",
+ 'password' => 'pass',
);
// SMTP-Subsystem (keep all empty to use legacy mail() command!)
// CFG: SMTP-HOSTNAME
-setConfigEntry('SMTP_HOSTNAME', "");
+setConfigEntry('SMTP_HOSTNAME', '');
+
// CFG: SMTP-USER
-setConfigEntry('SMTP_USER' , "");
+setConfigEntry('SMTP_USER' , '');
+
// CFG: SMTP-PASSWORD
-setConfigEntry('SMTP_PASSWORD', "");
+setConfigEntry('SMTP_PASSWORD', '');
-// @TODO Rewrite the following three constants, somehow...
// CFG: MAIN-TITLE
-define('MAIN_TITLE', "Your mail-exchanger title");
+setConfigEntry('MAIN_TITLE', 'Your mail-exchanger title');
// CFG: SLOGAN
-define('SLOGAN', "Your cool slogan here");
+setConfigEntry('SLOGAN', 'Your cool slogan here');
// CFG: WEBMASTER
-define('WEBMASTER', "you@some-hoster.tld.invalid");
+setConfigEntry('WEBMASTER', 'you@some-hoster.tld.invalid');
-//
+// [EOF]
?>