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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user