aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
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/functions_posting.php
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/functions_posting.php')
-rw-r--r--phpBB/includes/functions_posting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index e7219a3f63..6e41249ff7 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -727,7 +727,7 @@ function create_thumbnail($source, $destination, $mimetype)
return false;
}
- @chmod($destination, 0666);
+ phpbb_chmod($destination, CHMOD_READ | CHMOD_WRITE);
return true;
}