mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/10013] Use mkdir to create directory trees.
PHPBB3-10013
This commit is contained in:
parent
4e446277a5
commit
0765f9ba7f
1 changed files with 1 additions and 5 deletions
|
@ -44,10 +44,6 @@ class phpbb_test_case_helpers
|
||||||
|
|
||||||
public function makedirs($path)
|
public function makedirs($path)
|
||||||
{
|
{
|
||||||
while (!file_exists($path))
|
mkdir($path, 0777, true);
|
||||||
{
|
|
||||||
$this->makedirs(dirname($path));
|
|
||||||
mkdir($path);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue