]> git.mxchange.org Git - mailer.git/commitdiff
Fix for LOAD_URL()
authorRoland Häder <roland@mxchange.org>
Tue, 25 Nov 2008 19:10:49 +0000 (19:10 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 25 Nov 2008 19:10:49 +0000 (19:10 +0000)
inc/databases.php
inc/functions.php

index 851c80f1146b59efd8e9b4830dafc415091de65f..fbdd39899f5efa698e17a01b0a4c8af1e74fdb1f 100644 (file)
@@ -114,7 +114,7 @@ define('USAGE_BASE', "usage");
 define('SERVER_URL', "http://www.mxchange.org");
 
 // This current patch level
-define('CURR_SVN_REVISION', "557");
+define('CURR_SVN_REVISION', "558");
 
 // Take a prime number which is long (if you know a longer one please try it out!)
 define('_PRIME', 591623);
index 5c69d92b29035759c1871c3202bc4c8ed23a0689..69bd2e1b058d204d7c9100f9de1fe82cc07ac19a 100644 (file)
@@ -921,15 +921,15 @@ function MAKE_TIME($H, $M, $S, $stamp) {
 function LOAD_URL($URL, $addUrlData=true) {
        global $CSS, $_CONFIG, $footer;
 
+       // Compile out URI codes
+       $URL = COMPILE_CODE($URL);
+
        // Check if http(s):// is there
        if ((substr($URL, 0, 7) != "http://") && (substr($URL, 0, 8) != "https://")) {
                // Make all URLs full-qualified
                $URL = URL."/".$URL;
        }
 
-       // Compile out URI codes
-       $URL = COMPILE_CODE($URL);
-
        // Get output buffer
        $OUTPUT = ob_get_contents();