Renamed function so it might be more understandable
[mailer.git] / inc / config-local.php.dist
index b0d10287f14ae71815857769b70d21a3a0cb09d3..9b17267c11609d09730d1618d220716415cad4a1 100644 (file)
@@ -1,7 +1,7 @@
 <?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                                 *
@@ -18,6 +18,7 @@
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2008 by Roland Haeder                           *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -38,8 +39,7 @@
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
-       require($INC);
+       die();
 } // END - if
 
 /************************************************************************
@@ -50,7 +50,7 @@ if (!defined('__SECURITY')) {
 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');
@@ -79,21 +79,27 @@ setConfigEntry('_TABLE_TYPE', 'MyISAM');
 // CFG: DATABASE-TYPE
 setConfigEntry('_DB_TYPE', 'mysql3');
 
+// CFG: BACKLINK (Enable backlink to mxchange.org in footer? rel=external is set!)
+setConfigEntry('ENABLE_BACKLINK', 'Y');
+
 // CFG: DEBUG-MODE (if enabled all mails will be *displayed* and *not* send!)
 setConfigEntry('DEBUG_MODE', 'Y');
 
-// CFG: BACKLINK (Enable backlink to mxchange.org in footer? rel=external is set!)
-setConfigEntry('ENABLE_BACKLINK', '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-RESET (comment in to test daily reset, comment out to not test)
 //setConfigEntry('DEBUG_RESET', 'Y');
 
-// CFG: DEBUG-MONTHLY (comment in to test monthly reset, comment out to not test)
-//setConfigEntry('DEBUG_MONTHLY', 'Y');
-
 // CFG: DEBUG-WEEKLY (comment in to test weekly reset, comment out to not test)
 //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');
 
@@ -119,13 +125,13 @@ 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]
 ?>