From 564f7d89f141092bff91871422ead28394ec3dc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Sun, 4 May 2014 21:17:08 +0200 Subject: [PATCH] change remote file from full to normal version --- src/phpbrowscap/Browscap.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/phpbrowscap/Browscap.php b/src/phpbrowscap/Browscap.php index 89328fb6..fcc87351 100644 --- a/src/phpbrowscap/Browscap.php +++ b/src/phpbrowscap/Browscap.php @@ -99,7 +99,7 @@ class Browscap * is MINIMAL, so there is no reason to use the standard file whatsoever. Either go for light, * which is blazing fast, or get the full one. (note: light version doesn't work, a fix is on its way) */ - public $remoteIniUrl = 'http://browscap.org/stream?q=Full_PHP_BrowsCapINI'; + public $remoteIniUrl = 'http://browscap.org/stream?q=PHP_BrowscapINI'; public $remoteVerUrl = 'http://browscap.org/version'; public $timeout = 5; public $updateInterval = 432000; // 5 days @@ -1070,7 +1070,7 @@ protected function _getRemoteData($url) curl_setopt($ch, CURLOPT_USERAGENT, $this->_getUserAgent()); $file = curl_exec($ch); - + curl_close($ch); if ($file !== false) {