]> git.mxchange.org Git - mailer.git/blobdiff - index.php
Double % for sprintf()
[mailer.git] / index.php
index de74187c5adbe58b16ceb6ea6920cbbc7d01c08d..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,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 (isDisplayHomeInIndexEnabled()) {
+if ((isExtensionInstalledAndNewer('sql_patches', '0.8.3')) && (isDisplayHomeInIndexEnabled())) {
        // Include module
        doIncludeModule();
 } else {