]> git.mxchange.org Git - mailer.git/blobdiff - inc/mysql-connect.php
Naming inconsistencies for userid fixed
[mailer.git] / inc / mysql-connect.php
index a733ea9abd2440a6c38aa14c0f974e3fcc7b151d..61353a29839085000f57eb50b25079fd603eb42b 100644 (file)
@@ -59,6 +59,9 @@ initErrorHandler();
 // Init request
 initRequest();
 
+// Init userid
+initMemberId();
+
 // Set important header_sent
 if (!isset($GLOBALS['header_sent'])) $GLOBALS['header_sent'] = 0;
 
@@ -144,9 +147,6 @@ if (!isInstalling()) {
                setConfigEntry('OUTPUT_MODE', 'render');
        } // END - if
 
-       // Set other missing variables
-       if (!isOutputModeSet()) setOutputMode(0);
-
        // Include more
        foreach (array('inc/databases.php','inc/versions.php','inc/db/lib.php','inc/session.php','inc/install-functions.php','inc/load_config.php') as $inc) {
                // Load the include