WebStream/IO/FileInputStream.php 1 location
|
@@ 37-39 (lines=3) @@
|
34 |
|
} |
35 |
|
|
36 |
|
$stream = @fopen($this->file->getAbsoluteFilePath()); |
37 |
|
if ($stream === false) { |
38 |
|
throw new IOException("Unable open " . $this->file->getAbsoluteFilePath() . " cause by " . $php_errormsg); |
39 |
|
} |
40 |
|
|
41 |
|
parent::__construct($stream); |
42 |
|
} |
WebStream/IO/InputStream.php 1 location
|
@@ 62-64 (lines=3) @@
|
59 |
|
return; |
60 |
|
} |
61 |
|
|
62 |
|
if (@flose($this->stream) === false) { |
63 |
|
throw new IOException("Cannot close " . $this->file->getAbsoluteFilePath() . " cause by " . $php_errormsg); |
64 |
|
} |
65 |
|
|
66 |
|
$this->stream = null; |
67 |
|
} |