From: Marc MAURICE Date: Thu, 28 Apr 2011 15:44:02 +0000 (+0200) Subject: added a commented line to change the umask of created files X-Git-Tag: v1.5~8 X-Git-Url: http://positon.org/gitweb/?p=bizou.git;a=commitdiff_plain;h=dcc5699b077b3ac9b019aee52a5ef5f830cbbebf added a commented line to change the umask of created files --- diff --git a/index.php b/index.php index 828b06c..2013ed7 100644 --- a/index.php +++ b/index.php @@ -69,6 +69,9 @@ function getPreview($imgFile, $maxSize = THUMB_SIZE) return $imgFile; } + # uncomment this if you need group writable files + #umask(0002); + # create the thumbs directory recursively if (! is_dir(dirname($newImgFile))) mkdir(dirname($newImgFile), 0777, true);