1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/15287] Ensures that the target file directory exists

PHPBB3-15287
This commit is contained in:
Rubén Calvo
2017-07-21 08:07:57 +02:00
parent e2b02c15a5
commit 2a19e213e8
3 changed files with 28 additions and 23 deletions

View File

@@ -140,16 +140,4 @@ class storage
{
$this->get_adapter()->copy($path_orig, $path_dest);
}
/**
* Creates a directory recursively.
*
* @param string $path The directory path
*
* @throws \phpbb\storage\exception\exception On any directory creation failure
*/
public function create_dir($path)
{
$this->get_adapter()->create_dir($path);
}
}