mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-18 07:31:32 +02:00
[ticket/10013] Use mkdir to create directory trees.
PHPBB3-10013
This commit is contained in:
committed by
Igor Wiedler
parent
4e446277a5
commit
0765f9ba7f
@@ -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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user