]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-rallyes.php
Fixes for SQL execution and deprecated files removed
[mailer.git] / inc / modules / guest / what-rallyes.php
index 49624af0363d52acf404a5895dad08f8256d2dfe..edf07850d46d9a64358e7b17f121ae1049b238ce 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 - $_CONFIG['one_day']))
+        elseif (time() >= ($end - getConfig('one_day')))
        {
                // Rallye will expire in less one day!
                define('__RALLYE_EXTRAS', RALLYE_EXPIRE_ONE_DAY);