]> git.mxchange.org Git - mailer.git/commitdiff
Fixes for warnings in loader/frametester
authorRoland Häder <roland@mxchange.org>
Fri, 19 Sep 2008 21:53:24 +0000 (21:53 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 19 Sep 2008 21:53:24 +0000 (21:53 +0000)
inc/databases.php
inc/modules/frametester.php
inc/modules/loader.php

index 539b50a663407a43935509b692e8ccf5e3c88b28..a9a0c8ffff8c2abd94ef61cdf0156ab0db43922f 100644 (file)
@@ -113,7 +113,7 @@ define('USAGE_BASE', "usage");
 define('SERVER_URL', "http://www.mxchange.org");
 
 // This current patch level
-define('CURR_SVN_REVISION', "365");
+define('CURR_SVN_REVISION', "366");
 
 // Take a prime number which is long (if you know a longer one please try it out!)
 define('_PRIME', 591623);
index 29a36a5067878f2af1c63264a98f2ff2cb9e8d58..f605ae58248732ec20218b7bd98d07ba4fa509ee 100644 (file)
@@ -75,7 +75,7 @@ if ((!empty($_POST['url'])) || (!empty($_GET['url'])) || (!empty($_GET['frame'])
        $url = URL;
 
        // Decode URL if set in GET parameters
-       if (!empty($_GET['url']))  $url = COMPILE_CODE(gzuncompress(base64_decode(urldecode($_GET['url']))));
+       if (!empty($_GET['url']))  $url = gzuncompress(base64_decode(str_replace(" ", "+", COMPILE_CODE(urldecode($_GET['url'])))));
 
        // Use URL from POST data if set
        if (!empty($_POST['url'])) $url = $_POST['url'];
index 88a9aa7eadb707f62a211a66ce607309f0a60848..ab8533a79b1382f876e8bcade550e6bd6a1a04df 100644 (file)
@@ -39,7 +39,7 @@ if (!defined('__SECURITY')) {
 
 if (!empty($_GET['url'])) {
        // Decode URL
-       $url = COMPILE_CODE(@gzuncompress(base64_decode(str_replace(" ", "+", urldecode($_GET['url'])))));
+       $url = gzuncompress(base64_decode(str_replace(" ", "+", COMPILE_CODE(urldecode($_GET['url'])))));
 
        // Validate the URL
        if (VALIDATE_URL($url)) {