From: Roland Häder Date: Thu, 28 Jul 2011 05:17:08 +0000 (+0000) Subject: Fix 'index' to 'home' in index.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5ce904210587c51796b1a2f2d7eef96b2f54263a;p=mailer.git Fix 'index' to 'home' in index.php --- diff --git a/index.php b/index.php index c1bbb1b5f4..8fd966d61e 100644 --- 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