mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 06:38:52 +00:00
[ticket/11669] Fix PHP bug #55124 (recursive mkdir on /./)
PHPBB3-11669
This commit is contained in:
parent
7e4acced85
commit
224aec0f2d
1 changed files with 3 additions and 0 deletions
|
@ -94,6 +94,9 @@ class phpbb_test_case_helpers
|
|||
|
||||
public function makedirs($path)
|
||||
{
|
||||
// PHP bug #55124 (fixed in 5.4.0)
|
||||
$path = str_replace('/./', '/', $path);
|
||||
|
||||
mkdir($path, 0777, true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue