mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 08:17:47 +02:00
Merge remote-tracking branch 'EXreaction/ticket/11669' into develop
* EXreaction/ticket/11669: [ticket/11669] Fix PHP bug #55124 (recursive mkdir on /./)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user