diff options
Diffstat (limited to 'lib/exe/fetch.php')
-rw-r--r-- | lib/exe/fetch.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/exe/fetch.php b/lib/exe/fetch.php index ccab73fa9..d59f2edee 100644 --- a/lib/exe/fetch.php +++ b/lib/exe/fetch.php @@ -208,6 +208,7 @@ function get_resized($file, $ext, $w, $h=0){ if( $mtime > filemtime($file) || resize_imageIM($ext,$file,$info[0],$info[1],$local,$w,$h) || resize_imageGD($ext,$file,$info[0],$info[1],$local,$w,$h) ){ + if($conf['fperm']) chmod($local, $conf['fperm']); return $local; } //still here? resizing failed |