Skip to content

Commit

Permalink
Ajustes nos parâmetros language e api_version
Browse files Browse the repository at this point in the history
Alterado o idioma de ‘en’ para ‘pt’, de modo a carregar as categorias
em português (antigamente havia algum bug ao se utilizar em português)
e atualizada a data de versionamento.
  • Loading branch information
gavlinski committed Aug 25, 2014
1 parent aff2ed3 commit 1c56de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FoursquareAPI.Class.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class FoursquareApi {
* @param string $language
* @param string $api_version https://developer.foursquare.com/overview/versioning
*/
public function __construct($client_id = false,$client_secret = false, $redirect_uri='', $version='v2', $language='en', $api_version='20140114'){
public function __construct($client_id = false,$client_secret = false, $redirect_uri='', $version='v2', $language='pt', $api_version='20140825'){
$this->BaseUrl = "{$this->BaseUrl}$version/";
$this->ClientID = $client_id;
$this->ClientSecret = $client_secret;
Expand Down

0 comments on commit 1c56de8

Please sign in to comment.