$dummy = LOAD_CONFIG();
// Copy config to main array
- $_CONFIG = array_merge($_CONFIG, $dummy);
+ $_CONFIG = merge_array($_CONFIG, $dummy);
// Save some RAM...
unset($dummy);
- if ((defined('__DAILY_RESET')) && ($_CONFIG['birthday_points'] > 0))
+ if ((isBooleanConstantAndTrue('__DAILY_RESET')) && ($_CONFIG['birthday_points'] > 0))
{
// Daily reset was run and we shall pay points so we start checking for members who
// has a birthday for today
- $INC_POOL[] = PATH."inc/mails/birthday_mails.php";
+ $INC_POOL[] = sprintf("%sinc/mails/birthday_mails.php", PATH);
}
break;
}