]> git.mxchange.org Git - mailer.git/commitdiff
Fix 'index' to 'home' in index.php
authorRoland Häder <roland@mxchange.org>
Thu, 28 Jul 2011 05:17:08 +0000 (05:17 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 28 Jul 2011 05:17:08 +0000 (05:17 +0000)
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