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
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));