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;
}