diff options
author | Oleg Pudeyev <oleg@bsdpower.com> | 2011-02-02 20:34:27 -0500 |
---|---|---|
committer | Igor Wiedler <igor@wiedler.ch> | 2011-02-12 14:44:53 +0100 |
commit | 0765f9ba7fdf78515260653bad15b04a406ec2ae (patch) | |
tree | c827d7bc6c83796eda31d315e0fd7e8423a02a20 | |
parent | 4e446277a5f6e4e5772065110d06eb4a46f95b41 (diff) | |
download | forums-0765f9ba7fdf78515260653bad15b04a406ec2ae.tar forums-0765f9ba7fdf78515260653bad15b04a406ec2ae.tar.gz forums-0765f9ba7fdf78515260653bad15b04a406ec2ae.tar.bz2 forums-0765f9ba7fdf78515260653bad15b04a406ec2ae.tar.xz forums-0765f9ba7fdf78515260653bad15b04a406ec2ae.zip |
[ticket/10013] Use mkdir to create directory trees.
PHPBB3-10013
-rw-r--r-- | tests/test_framework/phpbb_test_case_helpers.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/test_framework/phpbb_test_case_helpers.php b/tests/test_framework/phpbb_test_case_helpers.php index 0eec4a90ca..697dc93501 100644 --- a/tests/test_framework/phpbb_test_case_helpers.php +++ b/tests/test_framework/phpbb_test_case_helpers.php @@ -44,10 +44,6 @@ class phpbb_test_case_helpers public function makedirs($path) { - while (!file_exists($path)) - { - $this->makedirs(dirname($path)); - mkdir($path); - } + mkdir($path, 0777, true); } } |