projects
/
bizou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
451e14b
)
added a commented line to change the umask of created files
author
Marc MAURICE
<dooblempub@positon.org>
Thu, 28 Apr 2011 15:44:02 +0000
(17:44 +0200)
committer
Marc MAURICE
<dooblempub@positon.org>
Thu, 28 Apr 2011 15:44:02 +0000
(17:44 +0200)
index.php
patch
|
blob
|
history
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);