From: OverlordQ Date: Tue, 25 Aug 2009 15:47:46 +0000 (+0000) Subject: Followup to r52671, fix redirection syntax to work with windows as well. X-Git-Tag: 1.31.0-rc.0~40064 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=033860134c6f560c89a1276fa1ca9d66fdcd32cf;p=lhc%2Fweb%2Fwiklou.git Followup to r52671, fix redirection syntax to work with windows as well. --- 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 );