1
0
mirror of https://github.com/misterunknown/ifm.git synced 2025-08-13 19:44:02 +02:00

Merge pull request #196 from novashdima/master

Fix php 7.4 & increase min version to 7.0
This commit is contained in:
Marco Dickert
2024-06-18 10:20:36 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ The IFM uses the following resources:
+ HTML5 and CSS3 compatible browser + HTML5 and CSS3 compatible browser
+ activated javascript + activated javascript
* Server * Server
+ PHP >= 5.6 + PHP >= 7.0
+ extensions + extensions
- bz2 - bz2
- curl (for remote upload) - curl (for remote upload)

View File

@@ -771,7 +771,7 @@ f00bar;
try { try {
chmod($d["filename"], (int)octdec($chmod)); chmod($d["filename"], (int)octdec($chmod));
return ["status" => "OK", "message" => $this->l('permission_change_success')]; return ["status" => "OK", "message" => $this->l('permission_change_success')];
} catch (Exception) { } catch (Exception $e) {
throw new IFMException($this->l('permission_change_error')); throw new IFMException($this->l('permission_change_error'));
} }
} else } else