From 033860134c6f560c89a1276fa1ca9d66fdcd32cf Mon Sep 17 00:00:00 2001 From: OverlordQ Date: Tue, 25 Aug 2009 15:47:46 +0000 Subject: [PATCH] Followup to r52671, fix redirection syntax to work with windows as well. --- includes/ProxyTools.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/ProxyTools.php b/includes/ProxyTools.php index 5a3919bad6..f76e24fb5d 100644 --- a/includes/ProxyTools.php +++ b/includes/ProxyTools.php @@ -174,7 +174,7 @@ function wfProxyCheck() { escapeshellarg( $port ), escapeshellarg( $url ) )); - exec( "php $params &>" . wfGetNull() . " &" ); + exec( "php $params >" . wfGetNull() . " 2>&1 &" ); } # Set MemCached key $wgMemc->set( $mcKey, 1, $wgProxyMemcExpiry ); -- 2.20.1