mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-13 20:28:44 +01:00
[ticket/10013] Use mkdir to create directory trees.
PHPBB3-10013
This commit is contained in:
parent
4e446277a5
commit
0765f9ba7f
@ -44,10 +44,6 @@ class phpbb_test_case_helpers
|
||||
|
||||
public function makedirs($path)
|
||||
{
|
||||
while (!file_exists($path))
|
||||
{
|
||||
$this->makedirs(dirname($path));
|
||||
mkdir($path);
|
||||
}
|
||||
mkdir($path, 0777, true);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user