]> git.mxchange.org Git - mailer.git/blobdiff - modules.php
config.php partly solved, see #117
[mailer.git] / modules.php
index 47fa7a3c0ad58eec9388f935812e2bbb68f33985..8b2c771373866a359b42bbbd39fd0fc8ac626fda 100644 (file)
@@ -39,7 +39,7 @@
 // XDEBUG call
 //xdebug_start_trace();
 
-// Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
+// Load security stuff here
 require('inc/libs/security_functions.php');
 
 // Init "action" and "what"
@@ -50,7 +50,7 @@ $GLOBALS['action'] = '';
 $GLOBALS['module'] = '';
 
 // Needed include files
-require('inc/config.php');
+require('inc/config-global.php');
 
 // Fix missing module to 'index'
 if (!REQUEST_ISSET_GET('module')) REQUEST_SET_GET('module', 'index');
@@ -63,7 +63,7 @@ if (IS_MEMBER()) {
        if (SQL_NUMROWS($result) == 1) {
                // Load surname and family's name and build the username
                list($s, $f) = SQL_FETCHROW($result);
-               $username = $s.' '.$f;
+               $username = $s . ' ' . $f;
 
                // Additionally admin?
                if (IS_ADMIN()) {