From: Gabriel Wicke Date: Sat, 31 Jan 2004 02:08:36 +0000 (+0000) Subject: now for the real thing- previous submit was a small hack to make it work without... X-Git-Tag: 1.3.0beta1~1059 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=f12b89003e7e19612bed12a16e98b3375bf7e47f;p=lhc%2Fweb%2Fwiklou.git now for the real thing- previous submit was a small hack to make it work without /wiki/... Damn, i have to save the file first... --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 05c1b32106..dc8cfc5797 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -65,7 +65,7 @@ function wfLocalUrl( $a, $q = "" ) } else if ( "" == $q ) { $a = str_replace( "$1", $a, $wgArticlePath ); } else { - $a = "/{$a}&{$q}"; + $a = "{$wgScript}?title={$a}&{$q}"; } return $a; } @@ -758,7 +758,6 @@ function wfPurgeSquidServers ($urlArr) { } $totalsockets = count($wgSquidServers) * $sockspersq; $sockets = Array(); - $t = microtime(1); /* this sets up the sockets and tests the first socket for each server. */ for ($ss=0;$ss < count($wgSquidServers);$ss++) {