Changeset 118
- Timestamp:
- 01/19/07 08:13:50 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/php/net/stubbles/star/StarArchive.php
r111 r118 62 62 { 63 63 $data = $file->getContents(); 64 if (substr($data, -1) != "\n") {65 $data .= "\n";66 }67 68 64 $this->index[$id] = array('basename' => $file->getBaseName(), 69 65 'path' => $file->getPath(), … … 129 125 } 130 126 131 $this->writer->write("\n");132 133 127 // write index 134 128 foreach (array_keys($this->index) as $id) {
