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