]> git.pld-linux.org Git - packages/SourceForge.git/blame - SourceForge-cache.patch
- added some new patches
[packages/SourceForge.git] / SourceForge-cache.patch
CommitLineData
902d3154
SZ
1diff -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.029909 seconds and 4 git commands to generate.