UpdateCurrencyRate.php
authorEdward <edward@roojs.com>
Mon, 20 Oct 2014 07:25:55 +0000 (15:25 +0800)
committerEdward <edward@roojs.com>
Mon, 20 Oct 2014 07:25:55 +0000 (15:25 +0800)
UpdateCurrencyRate.php

index 64ed0b3..8e82dd5 100644 (file)
@@ -30,8 +30,6 @@ class Pman_Core_UpdateCurrencyRate extends Pman
     
     function get()
     {
-        print_r(date('m/d/y', strtotime("-6 MONTH")));exit;
-        
         echo "obtain the currency lists... \n";
         
         $currency = array();
@@ -61,7 +59,7 @@ class Pman_Core_UpdateCurrencyRate extends Pman
             $params = array(
                 'lang' => 'en',
                 'result' => 1,
-                'date1' => '10/14/14',
+                'date1' => date('m/d/y', strtotime("-6 MONTH")),
                 'date'=> date('m/d/y'),
                 'date_fmt' => 'us',
                 'exch' => 'CNY',