X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=index.php;h=8fd966d61e3a5a731f03204c59e04bc32331edca;hb=ebebf74b951f64a41c14d0bdb44368a96721ddbe;hp=ce9671da93c10612b8a3ff1fbed8363007f1d640;hpb=ffc3392d8c9891afd31055b24dfe8ddb06bae96b;p=mailer.git diff --git a/index.php b/index.php index ce9671da93..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,8 +55,11 @@ $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())) { +if ((isExtensionInstalledAndNewer('sql_patches', '0.8.3')) && (isDisplayHomeInIndexEnabled())) { // Include module doIncludeModule(); } else {