Live fix: debug shell-outs
authorBrion Vibber <brion@users.mediawiki.org>
Sun, 2 Apr 2006 03:58:17 +0000 (03:58 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sun, 2 Apr 2006 03:58:17 +0000 (03:58 +0000)
includes/GlobalFunctions.php

index 80acdc1..745fa38 100644 (file)
@@ -1624,6 +1624,7 @@ function wfShellExec( $cmd )
                # http://news.php.net/php.internals/21796
                $cmd = '"' . $cmd . '"';
        }
+       wfDebug( "wfShellExec: $cmd\n" );
        return shell_exec( $cmd );
 }