|
@@ 476-480 (lines=5) @@
|
| 473 |
|
} |
| 474 |
|
|
| 475 |
|
$filenameCount = count( $filenameList ); |
| 476 |
|
for ( $i = 0; $i < $filenameCount; $i++ ) { |
| 477 |
|
$checkpointNameFilledIn = sprintf( $this->checkpointFiles[$i], $firstPageID, $lastPageID ); |
| 478 |
|
$fileinfo = pathinfo( $filenameList[$i] ); |
| 479 |
|
$newFilenames[] = $fileinfo['dirname'] . '/' . $checkpointNameFilledIn; |
| 480 |
|
} |
| 481 |
|
$this->egress->closeAndRename( $newFilenames ); |
| 482 |
|
} |
| 483 |
|
} |
|
@@ 930-934 (lines=5) @@
|
| 927 |
|
$firstPageID = str_pad( $this->firstPageWritten, 9, "0", STR_PAD_LEFT ); |
| 928 |
|
$lastPageID = str_pad( $this->lastPageWritten, 9, "0", STR_PAD_LEFT ); |
| 929 |
|
$filenamesCount = count( $filenameList ); |
| 930 |
|
for ( $i = 0; $i < $filenamesCount; $i++ ) { |
| 931 |
|
$checkpointNameFilledIn = sprintf( $this->checkpointFiles[$i], $firstPageID, $lastPageID ); |
| 932 |
|
$fileinfo = pathinfo( $filenameList[$i] ); |
| 933 |
|
$newFilenames[] = $fileinfo['dirname'] . '/' . $checkpointNameFilledIn; |
| 934 |
|
} |
| 935 |
|
$this->egress->closeRenameAndReopen( $newFilenames ); |
| 936 |
|
$this->buffer = $this->xmlwriterobj->openStream(); |
| 937 |
|
$this->timeExceeded = false; |