Bug in function get_ecb_rate when no function curl_init (missing url part)
[fa-stable.git] / gl / includes / db / gl_db_rates.inc
index 1355e1b72c705a6930f9cc9d68212b7c7a61bae7..0c9ae6863b5d81d572f404ddff4789bbf7c37322 100644 (file)
@@ -97,7 +97,7 @@ function get_ecb_rate($curr_b)
           } while( ($contents == '') && $retry--);
           
        } else {
-               $handle = @fopen($ecb_filename, 'rb');
+               $handle = @fopen("http://".$ecb_site.$ecb_filename, 'rb');
                if ($handle) {
                        do 
                        {