]> git.pld-linux.org Git - packages/SourceForge.git/blob - SourceForge-cache.patch
- added some new patches
[packages/SourceForge.git] / SourceForge-cache.patch
1 diff -Naur SF2.0/www/include/cache.php SF2.0-p/www/include/cache.php
2 --- SF2.0/www/include/cache.php Thu Sep  7 23:37:53 2000
3 +++ SF2.0-p/www/include/cache.php       Mon Sep 25 20:45:34 2000
4 @@ -59,7 +59,8 @@
5  }
6  
7  function cache_get_new_data($function) {
8 -       $furl=fopen("http://localhost/write_cache.php?sys_themeid=".$GLOBALS['sys_themeid']."&function=".urlencode($function),'r');
9 +       GLOBAL $sys_default_domain;
10 +       $furl=fopen("http://".$sys_default_domain."/write_cache.php?sys_themeid=".$GLOBALS['sys_themeid']."&function=".urlencode($function),'r');
11         return stripslashes(fread($furl,200000));
12  }
13  ?>
This page took 0.056945 seconds and 3 git commands to generate.