aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty
diff options
context:
space:
mode:
authorMaryana Rozhankivska <mariroz@mr.lviv.ua>2014-02-24 12:19:46 +0200
committerMaryana Rozhankivska <mariroz@mr.lviv.ua>2014-02-24 12:19:46 +0200
commit25e1213d1bcb7f8777fbe664f96b54fb5fe547bf (patch)
tree74a96dc645b515074cf0acd7c9ceeda15bfeac65 /inc/3rdparty
parent92fc97eeb3cbda0f7cee9b670c30bbf6b23b9e39 (diff)
downloadwallabag-25e1213d1bcb7f8777fbe664f96b54fb5fe547bf.tar.gz
wallabag-25e1213d1bcb7f8777fbe664f96b54fb5fe547bf.tar.zst
wallabag-25e1213d1bcb7f8777fbe664f96b54fb5fe547bf.zip
fix of global $http visibility, issues #493, #494
Diffstat (limited to 'inc/3rdparty')
-rwxr-xr-xinc/3rdparty/makefulltextfeed.php1
1 files changed, 1 insertions, 0 deletions
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) {
415////////////////////////////////// 415//////////////////////////////////
416// Set up HTTP agent 416// Set up HTTP agent
417////////////////////////////////// 417//////////////////////////////////
418global $http;
418$http = new HumbleHttpAgent(); 419$http = new HumbleHttpAgent();
419$http->debug = $debug_mode; 420$http->debug = $debug_mode;
420$http->userAgentMap = $options->user_agents; 421$http->userAgentMap = $options->user_agents;