From 405bcfb89812a6e571fa579045755168eca3c1e4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 3 Nov 2009 23:11:53 +0000 Subject: [PATCH] Shoule compile {?URL?} and so on --- inc/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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://')) { -- 2.39.5