1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-27 11:22:17 -05:00

fix of global $http visibility, issues #493, #494

This commit is contained in:
Maryana Rozhankivska 2014-02-24 12:19:46 +02:00
parent 92fc97eeb3
commit 25e1213d1b

View File

@ -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;