mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 16:27:38 +02:00
[ticket/11669] Fix PHP bug #55124 (recursive mkdir on /./)
PHPBB3-11669
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user