diff options
author | Andreas Gohr <andi@splitbrain.org> | 2006-03-07 21:20:53 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2006-03-07 21:20:53 +0100 |
commit | 3f825b151b6db382aad89ffe2d7cd9c145d453d2 (patch) | |
tree | 3610aa2dd6728c3a5767ca8b60078d6df4fa42da | |
parent | b4bc820ea9d5d9414c222824e55b23fc2c618e45 (diff) | |
download | rpg-3f825b151b6db382aad89ffe2d7cd9c145d453d2.tar.gz rpg-3f825b151b6db382aad89ffe2d7cd9c145d453d2.tar.bz2 |
fixed bad permission setting in lib/exe/media.php
darcs-hash:20060307202053-7ad00-e3ca72efb3599a9a46011d0f9d57e9f1d26027b1.gz
-rw-r--r-- | lib/exe/media.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/exe/media.php b/lib/exe/media.php index 144cd19f4..cc78d6b72 100644 --- a/lib/exe/media.php +++ b/lib/exe/media.php @@ -125,7 +125,7 @@ function media_upload($NS,$AUTH){ io_makeFileDir($fn); if(move_uploaded_file($file['tmp_name'], $fn)) { // set the correct permission here - if($conf['fperm']) chmod($fn, $fperm); + if($conf['fperm']) chmod($fn, $conf['fperm']); msg($lang['uploadsucc'],1); return true; }else{ |