diff options
author | Maryana Rozhankivska <mariroz@mr.lviv.ua> | 2014-02-24 12:19:46 +0200 |
---|---|---|
committer | Maryana Rozhankivska <mariroz@mr.lviv.ua> | 2014-02-24 12:19:46 +0200 |
commit | 25e1213d1bcb7f8777fbe664f96b54fb5fe547bf (patch) | |
tree | 74a96dc645b515074cf0acd7c9ceeda15bfeac65 /inc/3rdparty | |
parent | 92fc97eeb3cbda0f7cee9b670c30bbf6b23b9e39 (diff) | |
download | wallabag-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-x | inc/3rdparty/makefulltextfeed.php | 1 |
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 | ////////////////////////////////// |
418 | global $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; |