Skip to content

Commit

Permalink
Merge pull request #196 from novashdima/master
Browse files Browse the repository at this point in the history
Fix php 7.4 & increase min version to 7.0
  • Loading branch information
misterunknown authored Jun 18, 2024
2 parents 29e645e + 61716ad commit 1308fcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ The IFM uses the following resources:
+ HTML5 and CSS3 compatible browser
+ activated javascript
* Server
+ PHP >= 5.6
+ PHP >= 7.0
+ extensions
- bz2
- curl (for remote upload)
Expand Down
2 changes: 1 addition & 1 deletion src/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ private function changePermissions(array $d) {
try {
chmod($d["filename"], (int)octdec($chmod));
return ["status" => "OK", "message" => $this->l('permission_change_success')];
} catch (Exception) {
} catch (Exception $e) {
throw new IFMException($this->l('permission_change_error'));
}
} else
Expand Down

0 comments on commit 1308fcb

Please sign in to comment.