X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fconfig-global.php;h=e4ad94833692650e41b506abdc41d8bff93ee682;hb=668d3df20156d5dbd4f34342eeadcbd5d420a8f5;hp=d67040bd1e86165a92e9a8d00b8bd1209cf0376f;hpb=c3b4eaf29946349ff058691db2dcb615a5379bb2;p=mailer.git
diff --git a/inc/config-global.php b/inc/config-global.php
index d67040bd1e..e4ad948336 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,12 @@ setConfigEntry('stats_enabled', 'N');
// GLOBAL: DEBUG-TEMPLATE-CACHE
setConfigEntry('DEBUG_TEMPLATE_CACHE', 'N');
+// CFG: SALT-LENGTH
+setConfigEntry('salt_length', 10);
+
+// CFG: MINIMUM-ADMIN-PASS-LENGTH
+setConfigEntry('minium_admin_pass_length', 4);
+
// Connect to the database...
loadIncludeOnce('inc/mysql-connect.php');