Skip to content

Commit

Permalink
fix problem with permissions publications
Browse files Browse the repository at this point in the history
  • Loading branch information
rserry committed Dec 19, 2023
1 parent 0dad6be commit 916d69a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ public function uploadAction()
);

rename($formData['file']['tmp_name'], $filePath . $fileName);
chmod($filePath.$fileName, 0744); // set permissions

$this->getEntityManager()->persist($edition);
$this->getEntityManager()->flush();
Expand Down

0 comments on commit 916d69a

Please sign in to comment.