// Daily reset was run so let's check if active rallye is activated
if (getConfig('bonus_active') == "Y") {
// Run active rallye
- if (getConfig('bonus_stats') > 0) $INC_POOL[] = sprintf("%sinc/stats_bonus.php", PATH);
- $INC_POOL[] = sprintf("%sinc/monthly/monthly_bonus.php", PATH);
+ if (getConfig('bonus_stats') > 0) $INC_POOL[] = sprintf("%sinc/stats_bonus.php", constant('PATH'));
+ $INC_POOL[] = sprintf("%sinc/monthly/monthly_bonus.php", constant('PATH'));
} else {
// Reset points
- $INC_POOL[] = sprintf("%sinc/reset/reset_bonus.php", PATH);
+ $INC_POOL[] = sprintf("%sinc/reset/reset_bonus.php", constant('PATH'));
}
}
// Check for bonus rallye is active and send mails out
if ((getConfig('bonus_active') == "Y") && (getConfig('bonus_new_mem_notify') == "Y")) {
// Include file for sending out mails
- $INC_POOL[] = sprintf("%sinc/mails/bonus_mails.php", PATH);
+ $INC_POOL[] = sprintf("%sinc/mails/bonus_mails.php", constant('PATH'));
}
break;
}