]> git.mxchange.org Git - mailer.git/blobdiff - index.php
Moved if() block to make random passwords possible again
[mailer.git] / index.php
index c1bbb1b5f43a525a171a8d9d72358ed5dbe931dd..8fd966d61e3a5a731f03204c59e04bc32331edca 100644 (file)
--- a/index.php
+++ b/index.php
@@ -47,7 +47,7 @@ $GLOBALS['startTime'] = microtime(true);
 
 // Set module/what
 $GLOBALS['module'] = 'index';
-$GLOBALS['what'] = 'index';
+$GLOBALS['what'] = 'welcome';
 
 // Set CSS mode
 $GLOBALS['output_mode'] = '0';
@@ -55,6 +55,9 @@ $GLOBALS['output_mode'] = '0';
 // Load config.php
 require('inc/config-global.php');
 
+// Fix what to 'home'
+setWhat(getIndexHome());
+
 // Shall we display 'home' in index.php?
 if ((isExtensionInstalledAndNewer('sql_patches', '0.8.3')) && (isDisplayHomeInIndexEnabled())) {
        // Include module