@@ -103,11 +103,11 @@ discard block |
||
| 103 | 103 | public function openFile($filename, array $options = []) |
| 104 | 104 | { |
| 105 | 105 | if (!file_exists($filename)) { |
| 106 | - throw new ZipException("File {$filename} does not exist."); |
|
| 106 | + throw new ZipException("file {$filename} does not exist."); |
|
| 107 | 107 | } |
| 108 | 108 | |
| 109 | 109 | if (!($handle = @fopen($filename, 'rb'))) { |
| 110 | - throw new ZipException("File {$filename} can't open."); |
|
| 110 | + throw new ZipException("file {$filename} can't open."); |
|
| 111 | 111 | } |
| 112 | 112 | |
| 113 | 113 | return $this->openFromStream($handle, $options); |
@@ -1793,7 +1793,7 @@ discard block |
||
| 1793 | 1793 | $this->close(); |
| 1794 | 1794 | |
| 1795 | 1795 | if (!($handle = @fopen($meta['uri'], 'rb'))) { |
| 1796 | - throw new ZipException("File {$meta['uri']} can't open."); |
|
| 1796 | + throw new ZipException("file {$meta['uri']} can't open."); |
|
| 1797 | 1797 | } |
| 1798 | 1798 | } else { |
| 1799 | 1799 | $handle = @fopen('php://temp', 'r+b'); |