]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-autopurge.php
More fixes for points booking and surfbar
[mailer.git] / inc / extensions / ext-autopurge.php
index be921133327cc502eef4dc95f71e5ba9d4faaf4e..84207b9bb3ba734350804b997d262f7fbe909577 100644 (file)
@@ -258,14 +258,14 @@ case "update": // Update an extension
 
 default: // Do stuff when extension is loaded
        $dummy = LOAD_CONFIG();
-       $_CONFIG = array_merge($_CONFIG, $dummy);
+       $_CONFIG = merge_array($_CONFIG, $dummy);
        unset($dummy);
 
        // Do we have a daily-reset-run?
-       if (defined('__DAILY_RESET') && (!DEBUG_MODE) && ($CSS != 1))
+       if (isBooleanConstantAndTrue('__DAILY_RESET') && (!DEBUG_MODE) && ($CSS != 1))
        {
                // Yes, we have. So let's auto-purge some campaigns, inactive users and unconfirmed accounts
-               $INC_POOL[] = PATH."inc/autopurge.php";
+               $INC_POOL[] = sprintf("%sinc/autopurge.php", PATH);
        }
        break;
 }