mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-23 11:38:34 -04:00
Add config option to disable and hide self-update
This commit is contained in:
1 parent
5f637bd816
commit
59d6f3593c
4 files changed
+8
-1
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user