From b32fc83b260a46a98c18e0dc139f72793ed8372f Mon Sep 17 00:00:00 2001 From: mohrt Date: Wed, 13 Mar 2002 23:30:56 +0000 Subject: [PATCH] update fetch function --- libs/plugins/function.fetch.php | 2 +- plugins/function.fetch.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/plugins/function.fetch.php b/libs/plugins/function.fetch.php index ee46c160..17c0a58d 100644 --- a/libs/plugins/function.fetch.php +++ b/libs/plugins/function.fetch.php @@ -49,7 +49,7 @@ function smarty_function_fetch($params, &$smarty) $timeout = 30; $accept = "image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*"; $agent = "Smarty Template Engine ".$smarty->_version; - $referer = $_SERVER['REFERER']; + $referer = ""; if(!empty($uri_parts['path'])) { $uri = $uri_parts['path']; } else { diff --git a/plugins/function.fetch.php b/plugins/function.fetch.php index ee46c160..17c0a58d 100644 --- a/plugins/function.fetch.php +++ b/plugins/function.fetch.php @@ -49,7 +49,7 @@ function smarty_function_fetch($params, &$smarty) $timeout = 30; $accept = "image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*"; $agent = "Smarty Template Engine ".$smarty->_version; - $referer = $_SERVER['REFERER']; + $referer = ""; if(!empty($uri_parts['path'])) { $uri = $uri_parts['path']; } else {