X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fconfig-global.php;h=8fa172f4313322aa60234e7c6f7bd1af91e682d1;hp=d67040bd1e86165a92e9a8d00b8bd1209cf0376f;hb=7360c219f5623e5689deba8805b49dbba6c3bc2a;hpb=c3b4eaf29946349ff058691db2dcb615a5379bb2
diff --git a/inc/config-global.php b/inc/config-global.php
index d67040bd1e..8fa172f431 100644
--- a/inc/config-global.php
+++ b/inc/config-global.php
@@ -60,7 +60,7 @@ error_reporting(E_ALL | E_STRICT);
$PATH = str_replace("\\", '/', substr(dirname(__FILE__), 0, -3));
// Some very important function includes
-foreach (array('config','wrapper','template','module','inc','stats') as $inc) {
+foreach (array('config','wrapper','template','module','inc','stats','http') as $inc) {
include($PATH . 'inc/' . $inc . '-functions.php');
} // END - foreach
@@ -77,6 +77,9 @@ initConfig();
// CFG: HOST-URL (without trailing '/' !)
setConfigEntry('URL', $URL);
+// CFG: DOMAIN-NAME (without trailing '/' !)
+setConfigEntry('DOMAIN', detectDomainName());
+
// CFG: SERVER-PATH
setConfigEntry('PATH', $PATH);
@@ -90,7 +93,7 @@ setConfigEntry('AUTHOR' , 'Roland Häder');
setConfigEntry('TITLE', 'Mailer Project');
// CFG: COPY
-setConfigEntry('COPY', 'Copyright © 2003 - 2009, by Roland Häder,
2009, 2011 by Mailer Developer Team');
+setConfigEntry('COPY', 'Copyright © 2003 - 2009, by Roland Häder,
2009 - 2011 by Mailer Developer Team');
// CFG: CACHE_PATH
setConfigEntry('CACHE_PATH', 'inc/cache/');
@@ -101,6 +104,9 @@ setConfigEntry('stats_enabled', 'N');
// GLOBAL: DEBUG-TEMPLATE-CACHE
setConfigEntry('DEBUG_TEMPLATE_CACHE', 'N');
+// CFG: SALT-LENGTH
+setConfigEntry('salt_length', 10);
+
// Connect to the database...
loadIncludeOnce('inc/mysql-connect.php');