GX-Bug #57715 » CurrencyUpdateFix.patch
src/admin/includes/functions/localization.php (date 1528809210000) | ||
---|---|---|
33 | 33 |
function getCurrentRate($to, $base = DEFAULT_CURRENCY) |
34 | 34 |
{ |
35 | 35 |
// Fixer.io currency converter. http://fixer.io |
36 |
$fixerApi = 'http://api.fixer.io/latest?base=' . $base;
|
|
36 |
$fixerApi = 'https://exchangeratesapi.io/api/latest?base=' . $base;
|
|
37 | 37 |
|
38 | 38 |
$ch = curl_init(); |
39 | 39 |
curl_setopt($ch, CURLOPT_URL, $fixerApi); |