]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
fix of global $http visibility, issues #493, #494
authorMaryana Rozhankivska <mariroz@mr.lviv.ua>
Mon, 24 Feb 2014 10:19:46 +0000 (12:19 +0200)
committerMaryana Rozhankivska <mariroz@mr.lviv.ua>
Mon, 24 Feb 2014 10:19:46 +0000 (12:19 +0200)
inc/3rdparty/makefulltextfeed.php

index 2852c4c2a76fbda3e902de30aea99873abb87d2e..313397d2d9e35f0e9c380e1db5379dbf05541785 100755 (executable)
@@ -415,6 +415,7 @@ if (!$debug_mode) {
 //////////////////////////////////\r
 // Set up HTTP agent\r
 //////////////////////////////////\r
+global $http;\r
 $http = new HumbleHttpAgent();\r
 $http->debug = $debug_mode;\r
 $http->userAgentMap = $options->user_agents;\r