]> git.mxchange.org Git - mailer.git/blobdiff - index.php
Made 'developer=dev' menus more clear
[mailer.git] / index.php
index c1bbb1b5f43a525a171a8d9d72358ed5dbe931dd..4f8022b89a52dad4956cff57e1ae32761b232f5b 100644 (file)
--- a/index.php
+++ b/index.php
@@ -18,7 +18,7 @@
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -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