From: Chad Horohoe Date: Thu, 2 Jul 2009 00:55:48 +0000 (+0000) Subject: Use wfGetNull() instead of hardcoded /dev/null X-Git-Tag: 1.31.0-rc.0~41138 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=1219a4f71706c0e3b99dfaa6124a2026d2b564e3;p=lhc%2Fweb%2Fwiklou.git Use wfGetNull() instead of hardcoded /dev/null --- diff --git a/includes/ProxyTools.php b/includes/ProxyTools.php index bb5c85ab74..5a3919bad6 100644 --- a/includes/ProxyTools.php +++ b/includes/ProxyTools.php @@ -174,7 +174,7 @@ function wfProxyCheck() { escapeshellarg( $port ), escapeshellarg( $url ) )); - exec( "php $params &>/dev/null &" ); + exec( "php $params &>" . wfGetNull() . " &" ); } # Set MemCached key $wgMemc->set( $mcKey, 1, $wgProxyMemcExpiry );