projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d739e43
)
I18n.php
author
Chris
<chris@roojs.com>
Tue, 29 Jan 2013 05:30:44 +0000
(13:30 +0800)
committer
Chris
<chris@roojs.com>
Tue, 29 Jan 2013 05:30:44 +0000
(13:30 +0800)
I18n.php
patch
|
blob
|
history
diff --git
a/I18n.php
b/I18n.php
index
db8597c
..
9d403d9
100644
(file)
--- a/
I18n.php
+++ b/
I18n.php
@@
-290,6
+290,8
@@
class Pman_Core_I18n extends Pman
// this may fail...
$f = @file_get_contents('http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml');
if (!strlen($f)) {
+ $target = dirname(__FILE__).'eurofxref-daily.xml';
+
return false;
}
file_put_contents($target,$f);