projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eac18a1
)
Fix 'index' to 'home' in index.php
author
Roland Häder
<roland@mxchange.org>
Thu, 28 Jul 2011 05:17:08 +0000
(
05:17
+0000)
committer
Roland Häder
<roland@mxchange.org>
Thu, 28 Jul 2011 05:17:08 +0000
(
05:17
+0000)
index.php
patch
|
blob
|
history
diff --git
a/index.php
b/index.php
index c1bbb1b5f43a525a171a8d9d72358ed5dbe931dd..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,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