mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00: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:
commit
6c8bfcdef6
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue