1
0
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:
Rubén Calvo
2018-02-17 19:15:54 +01:00
parent 1c9798320e
commit 9cb6d1bf13
3 changed files with 35 additions and 4 deletions

View File

@@ -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);
}
}