return boolean in OC::stream_seek
This commit is contained in:
parent
ef6db5e9d7
commit
b752cb98d8
|
@ -48,7 +48,7 @@ class OC {
|
|||
}
|
||||
|
||||
public function stream_seek($offset, $whence = SEEK_SET) {
|
||||
fseek($this->fileSource, $offset, $whence);
|
||||
return fseek($this->fileSource, $offset, $whence) === 0;
|
||||
}
|
||||
|
||||
public function stream_tell() {
|
||||
|
|
Loading…
Reference in New Issue