aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-08-22 13:32:34 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-08-22 13:32:34 +0000
commit8174462e895966ce18c336b60dda93e562f4096f (patch)
treefe66ca7fa6b892e1db0de0bd7cf889ce72ce8ee9 /phpBB/includes/acp
parenta45ac24bd7f0b7ffba38827c43a853af32aa512f (diff)
downloadforums-8174462e895966ce18c336b60dda93e562f4096f.tar
forums-8174462e895966ce18c336b60dda93e562f4096f.tar.gz
forums-8174462e895966ce18c336b60dda93e562f4096f.tar.bz2
forums-8174462e895966ce18c336b60dda93e562f4096f.tar.xz
forums-8174462e895966ce18c336b60dda93e562f4096f.zip
Merge chmod changes into trunk
git-svn-id: file:///svn/phpbb/trunk@8781 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp')
-rw-r--r--phpBB/includes/acp/acp_attachments.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_attachments.php b/phpBB/includes/acp/acp_attachments.php
index 8d6e91a71c..3b53d51417 100644
--- a/phpBB/includes/acp/acp_attachments.php
+++ b/phpBB/includes/acp/acp_attachments.php
@@ -1199,7 +1199,7 @@ class acp_attachments
if (!file_exists(PHPBB_ROOT_PATH . $upload_dir))
{
@mkdir(PHPBB_ROOT_PATH . $upload_dir, 0777);
- @chmod(PHPBB_ROOT_PATH . $upload_dir, 0777);
+ phpbb_chmod(PHPBB_ROOT_PATH . $upload_dir, CHMOD_READ | CHMOD_WRITE);
}
}