From: Roland Häder Date: Tue, 3 Nov 2009 23:11:53 +0000 (+0000) Subject: Shoule compile {?URL?} and so on X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=commitdiff_plain;h=405bcfb89812a6e571fa579045755168eca3c1e4 Shoule compile {?URL?} and so on --- diff --git a/inc/functions.php b/inc/functions.php index dbf0581fe2..9db4633f9e 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -962,8 +962,8 @@ function makeTime ($hours, $minutes, $seconds, $stamp) { // Redirects to an URL and if neccessarry extends it with own base URL function redirectToUrl ($URL) { - // Compile out URI codes - $URL = compileUriCode($URL); + // Compile out codes + eval('$URL = ' . compileCode($URL) . ';'); // Check if http(s):// is there if ((substr($URL, 0, 7) != 'http://') && (substr($URL, 0, 8) != 'https://')) {