Skip to content

Commit

Permalink
change remote file from full to normal version
Browse files Browse the repository at this point in the history
  • Loading branch information
mimmi20 committed May 4, 2014
1 parent d3a7bf9 commit 564f7d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/phpbrowscap/Browscap.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 564f7d8

Please sign in to comment.