diff options
| author | Andreas Fischer <bantu@phpbb.com> | 2013-07-12 21:02:29 +0200 |
|---|---|---|
| committer | Andreas Fischer <bantu@phpbb.com> | 2013-07-12 21:02:29 +0200 |
| commit | 6c8bfcdef639a763675f9c9872b7e887d7a4f57a (patch) | |
| tree | 6576a38bf0fb650d0d1151296ae343181c3d7f1e /tests/test_framework | |
| parent | 0d0338a55c0b4f9ec4c1a4c34f482382b09105da (diff) | |
| parent | 224aec0f2dc3c14cddabc972f7893395a6fe5cb9 (diff) | |
| download | forums-6c8bfcdef639a763675f9c9872b7e887d7a4f57a.tar forums-6c8bfcdef639a763675f9c9872b7e887d7a4f57a.tar.gz forums-6c8bfcdef639a763675f9c9872b7e887d7a4f57a.tar.bz2 forums-6c8bfcdef639a763675f9c9872b7e887d7a4f57a.tar.xz forums-6c8bfcdef639a763675f9c9872b7e887d7a4f57a.zip | |
Merge remote-tracking branch 'EXreaction/ticket/11669' into develop
* EXreaction/ticket/11669:
[ticket/11669] Fix PHP bug #55124 (recursive mkdir on /./)
Diffstat (limited to 'tests/test_framework')
| -rw-r--r-- | tests/test_framework/phpbb_test_case_helpers.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_framework/phpbb_test_case_helpers.php b/tests/test_framework/phpbb_test_case_helpers.php index 50b2bf03ec..3d9cd10f32 100644 --- a/tests/test_framework/phpbb_test_case_helpers.php +++ b/tests/test_framework/phpbb_test_case_helpers.php @@ -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); } |
