mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-16 13:44:12 +02:00
[ticket/15553] Add method to get direct link
PHPBB3-15553
This commit is contained in:
@@ -216,4 +216,14 @@ class storage
|
||||
{
|
||||
return new file_info($this->adapter, $path);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get direct link
|
||||
*
|
||||
* @param string $path The file
|
||||
*/
|
||||
public function get_link($path)
|
||||
{
|
||||
return $this->get_adapter()->get_link($path);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user