mikuli.cz

:)
git clone https://git.sr.ht/~ashymad/mikuli.cz
Log | Files | Refs

commit 2253bf13b94472d86748c723a26c99b0877ed163
parent a6f6de53854d97f55af86b483d24290bb8b76955
Author: markseu <mark2011@mayberg.se>
Date:   Thu, 21 Jun 2018 15:31:01 +0200

Updated editor, file permissions

Diffstat:
Msystem/plugins/edit.php | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/system/plugins/edit.php b/system/plugins/edit.php @@ -5,7 +5,7 @@ class YellowEdit { - const VERSION = "0.7.21"; + const VERSION = "0.7.22"; var $yellow; //access to API var $response; //web response var $users; //user accounts @@ -853,7 +853,7 @@ class YellowEdit filesize($fileNameTemp)<=$fileSizeMax && in_array($extension, $extensions)) { $file = $this->response->getFileUpload($scheme, $address, $base, $location, $fileNameTemp, $fileNameShort); - if(!$file->isError() && $this->yellow->toolbox->renameFile($fileNameTemp, $file->fileName, true)) + if(!$file->isError() && $this->yellow->toolbox->copyFile($fileNameTemp, $file->fileName, true)) { $data["location"] = $file->getLocation(); } else {