diff options
author | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-07-12 13:57:24 -0500 |
---|---|---|
committer | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-07-12 13:57:24 -0500 |
commit | 224aec0f2dc3c14cddabc972f7893395a6fe5cb9 (patch) | |
tree | 77540b8af640409ce82cf83bfd16f9d77e61cb09 | |
parent | 7e4acced8599e7275e20ebab10bdc925ece4baee (diff) | |
download | forums-224aec0f2dc3c14cddabc972f7893395a6fe5cb9.tar forums-224aec0f2dc3c14cddabc972f7893395a6fe5cb9.tar.gz forums-224aec0f2dc3c14cddabc972f7893395a6fe5cb9.tar.bz2 forums-224aec0f2dc3c14cddabc972f7893395a6fe5cb9.tar.xz forums-224aec0f2dc3c14cddabc972f7893395a6fe5cb9.zip |
[ticket/11669] Fix PHP bug #55124 (recursive mkdir on /./)
PHPBB3-11669
-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); } |