]> git.mxchange.org Git - mailer.git/blobdiff - modules.php
config.php partly solved, see #117
[mailer.git] / modules.php
index 85703b5e056b5332a9a043b5ca6c4f3a41b44d76..8b2c771373866a359b42bbbd39fd0fc8ac626fda 100644 (file)
@@ -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()) {