mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[feature/twig] Prevent errors from mkdir if the dir already exists
PHPBB3-11598
This commit is contained in:
parent
2507c648fe
commit
52bce2ce11
1 changed files with 4 additions and 1 deletions
|
@ -93,9 +93,12 @@ class phpbb_test_case_helpers
|
|||
}
|
||||
|
||||
public function makedirs($path)
|
||||
{
|
||||
if (!is_dir($path))
|
||||
{
|
||||
mkdir($path, 0777, true);
|
||||
}
|
||||
}
|
||||
|
||||
static public function get_test_config()
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue