Skip to content

Commit

Permalink
Merge pull request #22 from mimmi20/use-normal-file
Browse files Browse the repository at this point in the history
change remote file from full to normal version
  • Loading branch information
asgrim committed May 6, 2014
2 parents d3a7bf9 + 564f7d8 commit b848fc1
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 b848fc1

Please sign in to comment.