added a commented line to change the umask of created files
This commit is contained in:
parent
451e14b16e
commit
dcc5699b07
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue