From e02f1e661854c8b773ad5b26a1b4b4d1797d4a5d Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 29 Jan 2013 13:30:44 +0800 Subject: [PATCH] I18n.php --- I18n.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/I18n.php b/I18n.php index db8597c9..9d403d95 100644 --- 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); -- 2.39.2