]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-birthday.php
Debug mode removed from reset
[mailer.git] / inc / extensions / ext-birthday.php
index 067f106d69348c1c40f635123df3faa8ca771b33..7ea5372bc388adde6215835c802449104a112379 100644 (file)
@@ -186,16 +186,16 @@ default: // Do stuff when extension is loaded
        $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;
 }