mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/15276] Update file_info to get size of images
PHPBB3-15276
This commit is contained in:
@@ -193,6 +193,15 @@ class storage
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get file info.
|
||||
*
|
||||
* @param string $path The file
|
||||
*
|
||||
* @throws \phpbb\storage\exception\not_implemented When the adapter doesnt implement the method
|
||||
*
|
||||
* @return \phpbb\storage\file_info Returns file_info object
|
||||
*/
|
||||
public function file_info($path)
|
||||
{
|
||||
return new file_info($this->adapter, $path);
|
||||
|
Reference in New Issue
Block a user