projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
643108b
)
Shoule compile {?URL?} and so on
author
Roland Häder
<roland@mxchange.org>
Tue, 3 Nov 2009 23:11:53 +0000
(23:11 +0000)
committer
Roland Häder
<roland@mxchange.org>
Tue, 3 Nov 2009 23:11:53 +0000
(23:11 +0000)
inc/functions.php
patch
|
blob
|
history
diff --git
a/inc/functions.php
b/inc/functions.php
index dbf0581fe2cb8a1a5a31adba8baa9a46a86b4819..9db4633f9ea88296442a825ced830829ae31fe53 100644
(file)
--- 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://')) {