mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/15276] Add methods to get file info
PHPBB3-15276
This commit is contained in:
@@ -192,4 +192,9 @@ class storage
|
||||
$adapter->put_contents($path, stream_get_contents($resource));
|
||||
}
|
||||
}
|
||||
|
||||
public function get_fileinfo($path)
|
||||
{
|
||||
return new file_info($adapter, $path);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user