1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-23 17:42:15 -05:00

fix of #498, #493, #494 - because disappeared in last commit

This commit is contained in:
Maryana Rozhankivska 2014-02-25 19:08:18 +02:00
parent 2cf87a4da1
commit f5b5622a89

View File

@ -381,6 +381,7 @@ if (!$debug_mode) {
////////////////////////////////// //////////////////////////////////
// Set up HTTP agent // Set up HTTP agent
////////////////////////////////// //////////////////////////////////
global $http;
$http = new HumbleHttpAgent(); $http = new HumbleHttpAgent();
$http->debug = $debug_mode; $http->debug = $debug_mode;
$http->userAgentMap = $options->user_agents; $http->userAgentMap = $options->user_agents;