From efb997abcef7ea76f1f02f8ca8c21736331febd9 Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 29 Jan 2013 13:30:07 +0800 Subject: [PATCH] I18n.php --- I18n.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/I18n.php b/I18n.php index 403b29e0..2ac66169 100644 --- a/I18n.php +++ b/I18n.php @@ -287,7 +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)) { - $f = file_get_contents('http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml'); + $f = @file_get_contents('http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml'); if (!strlen($f)) { return false; } -- 2.39.2