X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=index.php;h=4f8022b89a52dad4956cff57e1ae32761b232f5b;hb=6fb7e6d43cd1abb525ab3ac32c40dab995e709b2;hp=ce9671da93c10612b8a3ff1fbed8363007f1d640;hpb=ffc3392d8c9891afd31055b24dfe8ddb06bae96b;p=mailer.git diff --git a/index.php b/index.php index ce9671da93..4f8022b89a 100644 --- 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,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 ((isExtensionInstalledAndNewer('sql_patches', '0.8.3') && (isDisplayHomeInIndexEnabled())) { +if ((isExtensionInstalledAndNewer('sql_patches', '0.8.3')) && (isDisplayHomeInIndexEnabled())) { // Include module doIncludeModule(); } else {