All, except security block, include()/require() rewritten to own LOAD_INC()/LOAD_INC_...
[mailer.git] / inc / extensions / ext-birthday.php
index 15664c8d132ce927f1a03f18e9adeed9cf804769..07cdfd488f8eff5ad8f8444195c8ee08be6c5bb8 100644 (file)
@@ -196,7 +196,7 @@ default: // Do stuff when extension is loaded
        if ((isBooleanConstantAndTrue('__DAILY_RESET')) && (getConfig('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[] = sprintf("%sinc/mails/birthday_mails.php", PATH);
+               $INC_POOL[] = sprintf("%sinc/mails/birthday_mails.php", constant('PATH'));
        }
        break;
 }