From d0c792100bf4b67acd1824860204929c1540f6fb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 25 Nov 2008 18:57:25 +0000 Subject: [PATCH] More usage of GET_URL() than file() --- inc/databases.php | 2 +- inc/modules/admin/what-list_payouts.php | 2 +- inc/modules/member/what-reflinks.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/databases.php b/inc/databases.php index 896b6b9f85..851c80f114 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -114,7 +114,7 @@ define('USAGE_BASE', "usage"); define('SERVER_URL', "http://www.mxchange.org"); // This current patch level -define('CURR_SVN_REVISION', "556"); +define('CURR_SVN_REVISION', "557"); // Take a prime number which is long (if you know a longer one please try it out!) define('_PRIME', 591623); diff --git a/inc/modules/admin/what-list_payouts.php b/inc/modules/admin/what-list_payouts.php index 289dd508ed..c01272ea56 100644 --- a/inc/modules/admin/what-list_payouts.php +++ b/inc/modules/admin/what-list_payouts.php @@ -118,7 +118,7 @@ if (!empty($_GET['pid'])) eval($eval); // Execute transfer - $ret = @file($URL); + $ret = GET_URL($URL); } else { diff --git a/inc/modules/member/what-reflinks.php b/inc/modules/member/what-reflinks.php index bae32d9f1d..ee7d782709 100644 --- a/inc/modules/member/what-reflinks.php +++ b/inc/modules/member/what-reflinks.php @@ -89,7 +89,7 @@ if (SQL_NUMROWS($result) > 0) if ($test == $url) { // Download banner (I hope you keep the banner on same server???) - $fp = @file($url); $file = ""; + $fp = GET_URL($url); $file = ""; if ((!empty($fp)) && (is_array($fp)) && (count($fp) > 0)) { // Loads only found banner, when there is a 404 error this foreach() command -- 2.30.2