Skip to content

Commit

Permalink
fix for changed mtgox api
Browse files Browse the repository at this point in the history
  • Loading branch information
btcgear committed May 9, 2013
1 parent d94169f commit bb7bbcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload/catalog/controller/payment/bitcoin.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public function runUpdate() {
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/4.0 (compatible; MtGox PHP client; '.php_uname('s').'; PHP/'.phpversion().')');
}
curl_setopt($ch, CURLOPT_URL, 'http://data.mtgox.com/api/'.$path);
curl_setopt($ch, CURLOPT_URL, 'https://data.mtgox.com/api/'.$path);

// run the query
$res = curl_exec($ch);
Expand Down

0 comments on commit bb7bbcd

Please sign in to comment.