[gnome-web-www] previous-donor: Try to load fog data from local filesystem



commit c4e8f9d493b294557e284aa3508162b7fcfe6c3f
Author: Tobias Mueller <tobiasmue gnome org>
Date:   Fri Jan 25 20:28:20 2013 +0100

    previous-donor: Try to load fog data from local filesystem

 theme/page-previous-donors.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/theme/page-previous-donors.php b/theme/page-previous-donors.php
index 11fed2d..8b4fa99 100644
--- a/theme/page-previous-donors.php
+++ b/theme/page-previous-donors.php
@@ -23,7 +23,7 @@ foreach (array(
     foreach ($fname_dispname_map as $level => $disp_name) {
         $cache_name = "fog_donors_file_{$year}_{$level}";
         if (false === ($donors_file = get_transient($cache_name))) {
-            $url = "http://people.gnome.org/~tobiasmue/fog/{$year}-{$level}.txt";;
+            $url = dirname(__FILE__) . "/fog_donors/{$year}-{$level}.txt";
             $donors_file = file_get_contents($url);
 
             // keeps a 24-hour cache until another HTTP request



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]