I18n.php
authorChris <chris@roojs.com>
Tue, 29 Jan 2013 05:30:29 +0000 (13:30 +0800)
committerChris <chris@roojs.com>
Tue, 29 Jan 2013 05:30:29 +0000 (13:30 +0800)
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;