Extra quotes are breaking wfShellExecute() for me...need to look into this more to...
authorAaron Schulz <aaron@users.mediawiki.org>
Mon, 20 Jul 2009 02:04:54 +0000 (02:04 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Mon, 20 Jul 2009 02:04:54 +0000 (02:04 +0000)
includes/GlobalFunctions.php

index 66cc3ec..30bb00a 100644 (file)
@@ -2266,7 +2266,7 @@ function wfShellExec( $cmd, &$retval=null ) {
        } elseif ( php_uname( 's' ) == 'Windows NT' ) {
                # This is a hack to work around PHP's flawed invocation of cmd.exe
                # http://news.php.net/php.internals/21796
-               $cmd = '"' . $cmd . '"';
+               $cmd = '"' . $cmd . '"'; // FIXME: breaking Vista sp2/PHP 5.2.9(2)
        }
        wfDebug( "wfShellExec: $cmd\n" );