From 5ce904210587c51796b1a2f2d7eef96b2f54263a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 28 Jul 2011 05:17:08 +0000 Subject: [PATCH] Fix 'index' to 'home' in index.php --- index.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.5