[ticket/11669] Fix PHP bug #55124 (recursive mkdir on /./)

PHPBB3-11669
This commit is contained in:
Nathaniel Guse 2013-07-12 13:57:24 -05:00
parent 7e4acced85
commit 224aec0f2d

View file

@ -94,6 +94,9 @@ class phpbb_test_case_helpers
public function makedirs($path) public function makedirs($path)
{ {
// PHP bug #55124 (fixed in 5.4.0)
$path = str_replace('/./', '/', $path);
mkdir($path, 0777, true); mkdir($path, 0777, true);
} }