diff --git a/README.md b/README.md index 7b49a2d..acd5be3 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/src/main.php b/src/main.php index aa2dd51..94b0c75 100644 --- a/src/main.php +++ b/src/main.php @@ -771,7 +771,7 @@ f00bar; 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