projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dca928
)
UpdateCurrencyRate.php
author
Edward
<edward@roojs.com>
Mon, 20 Oct 2014 07:07:22 +0000
(15:07 +0800)
committer
Edward
<edward@roojs.com>
Mon, 20 Oct 2014 07:07:22 +0000
(15:07 +0800)
UpdateCurrencyRate.php
patch
|
blob
|
history
diff --git
a/UpdateCurrencyRate.php
b/UpdateCurrencyRate.php
index
051f2c0
..
cde788f
100644
(file)
--- a/
UpdateCurrencyRate.php
+++ b/
UpdateCurrencyRate.php
@@
-29,6
+29,11
@@
class Pman_Core_UpdateCurrencyRate extends Pman
{
echo"'update currency exchange rate \n";
+ $doc = new DOMDocument();
+ $doc->loadHTML($response);
+
+ $xpath = new DOMXpath($doc);
+
// $params = array(
// 'lang' => 'en',
// 'result' => 1,