Several more constants rewritten to getConfig()
[mailer.git] / mailid.php
index c0caa5ad91c70e4185b8d4508ef7d13494791fbc..dfc023c0554aa816cc4a5a4fb3b2121f859048e8 100644 (file)
@@ -178,7 +178,7 @@ if (($url_uid) > 0 && (($url_mid > 0) || ($url_bid > 0)) && (getTotalFatalErrors
                                        // Was that mail a valid one?
                                        if ($isValid === true) {
                                                // If time is zero seconds we have a sponsor mail. 1 Second shall be set to avoid problems
-                                               if (($time == '0') && ($payment > 0)) { $URL = constant('URL'); $time = '1'; }
+                                               if (($time == '0') && ($payment > 0)) { $URL = getConfig('URL'); $time = '1'; }
                                                if (($time > 0) && (($payment > 0) || ($points > 0))) {
                                                        // Export data into constants for the template
                                                        $content = array(