X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Fwhat-rallyes.php;h=6b07c6263cf467a25df6c316eda6cc11ca487529;hp=336ff02cdc51e3a855ae70c201ed4f8883f9618b;hb=2cce06a4f4ff6bdbf0a14dcf7d2a89944b472c69;hpb=777553ad962957b53a4dc71cbf5cddfad9c4d1fa diff --git a/inc/modules/guest/what-rallyes.php b/inc/modules/guest/what-rallyes.php index 336ff02cdc..6b07c6263c 100644 --- a/inc/modules/guest/what-rallyes.php +++ b/inc/modules/guest/what-rallyes.php @@ -66,10 +66,10 @@ if (SQL_NUMROWS($result) == 1) define('__RALLYE_EXTRAS', RALLYE_HAS_EXPIRED); $expired = true; } - elseif (time() >= ($end - ONE_DAY)) + elseif (time() >= ($end - $_CONFIG['one_day'])) { // Rallye will expire in less one day! - define('__RALLYE_EXTRAS', RALLYE_EXPIRE_ONE_DAY); + define('__RALLYE_EXTRAS', RALLYE_EXPIRE_$_CONFIG['one_day']); } else {