From ed71b9a4fd1a45a9836d94f0739c2496e6891cb3 Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 20 Oct 2014 16:41:00 +0800 Subject: [PATCH] UpdateCurrencyRate.php --- UpdateCurrencyRate.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/UpdateCurrencyRate.php b/UpdateCurrencyRate.php index 433f07cb..2bf7b74b 100644 --- a/UpdateCurrencyRate.php +++ b/UpdateCurrencyRate.php @@ -58,7 +58,12 @@ class Pman_Core_UpdateCurrencyRate extends Pman $fromDate = date('m/d/y', strtotime("-6 MONTH")); $toDate = date('m/d/y'); + $total = count($currency); + foreach ($currency as $k => $c){ + + echo "\nProcessing Currency : $c ($k / $total)"; + $params = array( 'lang' => 'en', 'result' => 1, -- 2.39.2