Permalink
Browse files

FileMutator::url_stat() fixed implementation

  • Loading branch information...
dg committed Aug 29, 2017
1 parent 134bb93 commit a602a9789ca7c0aacbca902bb9527793d0eb2039
Showing with 4 additions and 1 deletion.
  1. +4 βˆ’1 src/Framework/FileMutator.php
@@ -197,7 +197,10 @@ public function unlink($path)
public function url_stat($path, $flags)
{
return $this->native('fstat', $path, $flags);
return $this->native(
$flags & STREAM_URL_STAT_LINK ? 'lstat' : 'stat',
$path
);
}

0 comments on commit a602a97

Please sign in to comment.