// Set module/what
$GLOBALS['module'] = 'index';
-$GLOBALS['what'] = 'index';
+$GLOBALS['what'] = 'welcome';
// Set CSS mode
$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 {