diff --git a/inc/StatisticsBrowscap.class.php b/inc/StatisticsBrowscap.class.php index c6f7bea..c7dc782 100644 --- a/inc/StatisticsBrowscap.class.php +++ b/inc/StatisticsBrowscap.class.php @@ -24,10 +24,10 @@ public function __construct() { * @return string */ protected function _getRemoteData($url) { - $http = new DokuHTTPClient($url); - $file = $http->get($url); - if(!$file) - throw new Exception('Your server can\'t connect to external resources. Please update the file manually.'); - return $file; + $http = new dokuwiki\HTTP\DokuHTTPClient(); + $file = $http->get($url); + if(!$file) + throw new Exception('Your server can\'t connect to external resources. Please update the file manually.'); + return $file; } }