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:
78ba33f
)
In wfShellExec(), log return code 127 to a special log file, to check for missing...
author
Tim Starling
<tstarling@users.mediawiki.org>
Fri, 5 Sep 2008 03:32:09 +0000
(
03:32
+0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Fri, 5 Sep 2008 03:32:09 +0000
(
03:32
+0000)
includes/GlobalFunctions.php
patch
|
blob
|
history
diff --git
a/includes/GlobalFunctions.php
b/includes/GlobalFunctions.php
index
a58bbaf
..
4d50956
100644
(file)
--- a/
includes/GlobalFunctions.php
+++ b/
includes/GlobalFunctions.php
@@
-2113,6
+2113,10
@@
function wfShellExec( $cmd, &$retval=null ) {
passthru( $cmd, $retval );
$output = ob_get_contents();
ob_end_clean();
+
+ if ( $retval == 127 ) {
+ wfDebugLog( 'exec', "Possibly missing executable file: $cmd\n" );
+ }
return $output;
}