]> git.mxchange.org Git - mailer.git/blobdiff - index.php
Fixed a typo, thanks to profi-concept. Function INCLUDE_READABLE() introduced
[mailer.git] / index.php
index 9142d90b424af8d7cca30c3472d5211e43c28302..c19e9a2f7700ba38b02a3ecfa66fb67a3c0127fb 100644 (file)
--- a/index.php
+++ b/index.php
@@ -51,8 +51,8 @@ if (isBooleanConstantAndTrue('mxchange_installed')) {
        LOAD_INC("inc/header.php");
 
        // Fix missing array elements here
-       if (getConfig('index_delay') == null)  $_CONFIG['index_delay']  = 0;
-       if (getConfig('index_cookie') == null) $_CONFIG['index_cookie'] = 0;
+       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)) {