r57801 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57800‎ | r57801 | r57802 >
Date:04:38, 16 October 2009
Author:dale
Status:ok
Tags:
Comment:
fix per r57729#c4267
Modified paths:
  • /trunk/phase3/includes/upload/UploadBase.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/upload/UploadBase.php
@@ -191,7 +191,6 @@
192192 $verification = array( $verification );
193193 return array( 'status' => self::VERIFICATION_ERROR,
194194 'details' => $verification );
195 -
196195 }
197196
198197 $error = '';
@@ -818,7 +817,7 @@
819818 # that does not seem to be worth the pain.
820819 # Ask me (Duesentrieb) about it if it's ever needed.
821820 $output = array();
822 - $output = wfShellExec($command, $exitCode);
 821+ $output = wfShellExec("$command 2>&1", $exitCode);
823822
824823
825824 # map exit code to AV_xxx constants.

Follow-up revisions

RevisionCommit summaryAuthorDate
r60368Follow up to r57868: Fix virus scanner on Windows (r57801 et al)btongminh21:02, 24 December 2009

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r57729* follow-up to r57728 switched to use global wfShellExec functiondale21:51, 14 October 2009

Status & tagging log