aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/updateController.php
diff options
context:
space:
mode:
authorGravatar Clément <clement@selfhost.fr> 2017-02-25 10:20:59 +0100
committerGravatar Clément <clement@selfhost.fr> 2017-02-25 10:20:59 +0100
commit2e871a0adf131f53dcf345ad2dda73bdf7c1a2c9 (patch)
tree2233e1528417ab7860dd3fe8d7a3823d964ea06f /app/Controllers/updateController.php
parent648fcb63b5170d07ad6d157249be398912da658f (diff)
parent3684d201bda997fdbfd4460dae92100ee47dd7ef (diff)
Merge branch 'dev' into feature/username-in-cli
Diffstat (limited to 'app/Controllers/updateController.php')
-rw-r--r--app/Controllers/updateController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/updateController.php b/app/Controllers/updateController.php
index 8f939dbdb..b4e8a0bff 100644
--- a/app/Controllers/updateController.php
+++ b/app/Controllers/updateController.php
@@ -162,7 +162,7 @@ class FreshRSS_update_Controller extends Minz_ActionController {
}
public function applyAction() {
- if (!file_exists(UPDATE_FILENAME) || !is_writable(FRESHRSS_PATH)) {
+ if (!file_exists(UPDATE_FILENAME) || !is_writable(FRESHRSS_PATH) || Minz_Configuration::get('system')->disable_update) {
Minz_Request::forward(array('c' => 'update'), true);
}