Merge pull request #501 from mariroz/dev

fix of #498, #493, #494 - because disappeared in last commit
This commit is contained in:
Nicolas Lœuillet 2014-02-25 18:10:32 +01:00
commit 78dd437928

View file

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