]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-rallyes.php
More fixes from profi-concept for extension loading, guest/member menu and smaller...
[mailer.git] / inc / modules / guest / what-rallyes.php
index 336ff02cdc51e3a855ae70c201ed4f8883f9618b..4c8acf31c06196cff08ccb9ecc676b065bc673ad 100644 (file)
@@ -41,7 +41,7 @@ if (!defined('__SECURITY')) {
 }
 
 // Add description as navigation point
-ADD_DESCR("guest", basename(__FILE__));
+ADD_DESCR("guest", __FILE__);
 
 OUTPUT_HTML("<DIV align=\"center\">");
 
@@ -66,7 +66,7 @@ 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);