Index: trunk/extensions/FlaggedRevs/specialpages/ValidationStatistics_body.php |
— | — | @@ -67,7 +67,9 @@ |
68 | 68 | if( !$dbCache->get( $key ) && !$dbCache->get( $keySQL ) ) { |
69 | 69 | $ext = strpos( $_SERVER['SCRIPT_NAME'], 'index.php5' ) === false ? 'php' : 'php5'; |
70 | 70 | $path = wfEscapeShellArg( dirname(__FILE__).'/../maintenance/updateStats.php' ); |
71 | | - exec( "$ext $path > /dev/null &" ); |
| 71 | + $file = tempnam( wfTempDir(), 'flaggedrevs_stats_update' ); |
| 72 | + exec( "$ext $path > $file &" ); |
| 73 | + unlink( $file ); |
72 | 74 | } |
73 | 75 | } |
74 | 76 | |