projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efb997a
)
I18n.php
author
Chris
<chris@roojs.com>
Tue, 29 Jan 2013 05:30:29 +0000
(13:30 +0800)
committer
Chris
<chris@roojs.com>
Tue, 29 Jan 2013 05:30:29 +0000
(13:30 +0800)
I18n.php
patch
|
blob
|
history
diff --git
a/I18n.php
b/I18n.php
index
2ac6616
..
db8597c
100644
(file)
--- a/
I18n.php
+++ b/
I18n.php
@@
-287,6
+287,7
@@
class Pman_Core_I18n extends Pman
}
$target = ini_get('session.save_path').'/eurofxref-daily.xml';
if (!file_exists($target) || filemtime($target) < (time() - 60*60*24)) {
+ // this may fail...
$f = @file_get_contents('http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml');
if (!strlen($f)) {
return false;