X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=index.php;h=27cf6e95987094772cd10c700291cb4f32080326;hp=e9a77ff4f382ba65322d713a7c9ab3a51442fe1b;hb=7c15ca79161bf475e958810a5b585bce869a2af9;hpb=64c8349613addc3da2242c5cd6b99d64e3fb5f8e diff --git a/index.php b/index.php index e9a77ff4f3..27cf6e9598 100644 --- a/index.php +++ b/index.php @@ -47,7 +47,7 @@ $GLOBALS['startTime'] = microtime(true); $GLOBALS['module'] = 'index'; // Set 'CSS-Mode' -$GLOBALS['output_mode'] = '0'; +$GLOBALS['output_mode'] = 0; // Load config.php require('inc/config-global.php'); @@ -63,7 +63,7 @@ if (!isConfigEntrySet('index_delay')) setConfigEntry('index_delay' , 0); if (!isConfigEntrySet('index_cookie')) setConfigEntry('index_cookie', 0); // Check for cookies -if ((isSessionVariableSet('visited')) || (getConfig('index_delay') == 0) || (getConfig('index_cookie') == 0)) { +if ((isSessionVariableSet('visited')) || (getConfig('index_delay') == 0)) { // Is the index page configured for redirect pr not? if (getConfig('index_cookie') > 0) { // Set cookie and remeber it for specified time