From f12b89003e7e19612bed12a16e98b3375bf7e47f Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Sat, 31 Jan 2004 02:08:36 +0000 Subject: [PATCH] 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... --- includes/GlobalFunctions.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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++) { -- 2.20.1