Index: trunk/phase3/maintenance/generateSitemap.php
— — @@ -347,11 +347,11 @@
348 348 * @return Resource
349 349 */
350 350 function open( $file, $flags ) {
351 (削除) - $ressource = $this->compress ? gzopen( $file, $flags ) : fopen( $file, $flags ); (削除ここまで)
352 (削除) - if( $ressource === false ) { (削除ここまで)
351 (追記) + $resource = $this->compress ? gzopen( $file, $flags ) : fopen( $file, $flags ); (追記ここまで)
352 (追記) + if( $resource === false ) { (追記ここまで)
353 353 wfDebugDieBacktrace( __METHOD__ . " error opening file $file with flags $flags. Check permissions?" );
354 354 }
355 (削除) - return $ressource; (削除ここまで)
355 (追記) + return $resource; (追記ここまで)
356 356 }
357 357
358 358 /**