mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
use stat instead of attributes
This commit is contained in:
parent
e0e86b1664
commit
89082b2b29
3 changed files with 16 additions and 28 deletions
|
|
@ -131,7 +131,7 @@ abstract class NativeStream implements File {
|
|||
*/
|
||||
public function stream_stat() {
|
||||
try {
|
||||
return $this->state->stat($this->url);
|
||||
return $this->state->fstat($this->handle, $this->url);
|
||||
} catch (Exception $e) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue