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:
@@ -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)
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user