]> git.mxchange.org Git - mailer.git/blobdiff - inc/config-local.php.dist
Flushing template cache is anoying while developing templates, now we can 'debug...
[mailer.git] / inc / config-local.php.dist
index b0d10287f14ae71815857769b70d21a3a0cb09d3..19327b28c99319cad311c460a3ba8d4937804c02 100644 (file)
@@ -38,8 +38,7 @@
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
-       require($INC);
+       die();
 } // END - if
 
 /************************************************************************
@@ -79,21 +78,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 +124,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]
 ?>