dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4089af7
)
Use wfGetNull() instead of hardcoded /dev/null
author
Chad Horohoe
<demon@users.mediawiki.org>
Thu, 2 Jul 2009 00:55:48 +0000
(
00:55
+0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Thu, 2 Jul 2009 00:55:48 +0000
(
00:55
+0000)
includes/ProxyTools.php
patch
|
blob
|
history
diff --git
a/includes/ProxyTools.php
b/includes/ProxyTools.php
index
bb5c85a
..
5a3919b
100644
(file)
--- 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 );