Skip to content

Commit

Permalink
Merge pull request #1 from barisesen/master
Browse files Browse the repository at this point in the history
Bug fixed
  • Loading branch information
barisesen authored May 31, 2018
2 parents a9a9fca + f01eaf9 commit 166d60c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"php": ">=5.5.9",
"ext-curl": "*"
},
"version": "1.0.10",
"version": "1.0.11",
"minimum-stability": "dev"
}
4 changes: 2 additions & 2 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function authorize()
}

if (isset($resp["access_token"])) {
$file = './token.ini';
$file = 'token.ini';
$token = "";
foreach ($resp as $key => $value) {
$token .= $key."=".$value."\n";
Expand Down Expand Up @@ -132,4 +132,4 @@ public function request($path, $params = null, $method = 'POST', $fullPath = fal
break;
}
}
}
}

0 comments on commit 166d60c

Please sign in to comment.