projects
/
bizou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added a commented line to change the umask of created files
[bizou.git]
/
index.php
diff --git
a/index.php
b/index.php
index
828b06c
..
2013ed7
100644
(file)
--- 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);