From bb7bbcdeeef2f4e1146430742231ac9434e4ef1a Mon Sep 17 00:00:00 2001 From: John Atkinson Date: Thu, 9 May 2013 11:10:37 -0700 Subject: [PATCH] fix for changed mtgox api --- upload/catalog/controller/payment/bitcoin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload/catalog/controller/payment/bitcoin.php b/upload/catalog/controller/payment/bitcoin.php index 554b0b6..5876121 100644 --- a/upload/catalog/controller/payment/bitcoin.php +++ b/upload/catalog/controller/payment/bitcoin.php @@ -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);