From dcc5699b077b3ac9b019aee52a5ef5f830cbbebf Mon Sep 17 00:00:00 2001 From: Marc MAURICE Date: Thu, 28 Apr 2011 17:44:02 +0200 Subject: [PATCH] added a commented line to change the umask of created files --- index.php | 3 +++ 1 file changed, 3 insertions(+) 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); -- 1.7.10.4