From 25e1213d1bcb7f8777fbe664f96b54fb5fe547bf Mon Sep 17 00:00:00 2001 From: Maryana Rozhankivska Date: Mon, 24 Feb 2014 12:19:46 +0200 Subject: fix of global $http visibility, issues #493, #494 --- inc/3rdparty/makefulltextfeed.php | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/3rdparty/makefulltextfeed.php b/inc/3rdparty/makefulltextfeed.php index 2852c4c2..313397d2 100755 --- a/inc/3rdparty/makefulltextfeed.php +++ b/inc/3rdparty/makefulltextfeed.php @@ -415,6 +415,7 @@ if (!$debug_mode) { ////////////////////////////////// // Set up HTTP agent ////////////////////////////////// +global $http; $http = new HumbleHttpAgent(); $http->debug = $debug_mode; $http->userAgentMap = $options->user_agents; -- cgit v1.2.3