diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-11-09 14:37:45 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-11-09 14:42:30 +0100 |
commit | 80c8889bfe5151a23066188e6c74c3c1e8575e61 (patch) | |
tree | 1a86f8a9d1fecf786c5346025c5e31343e92e379 /application/config | |
parent | d9d71b10c3bc70a0881d630b37dc4e918c9e812f (diff) | |
download | Shaarli-80c8889bfe5151a23066188e6c74c3c1e8575e61.tar.gz Shaarli-80c8889bfe5151a23066188e6c74c3c1e8575e61.tar.zst Shaarli-80c8889bfe5151a23066188e6c74c3c1e8575e61.zip |
Server admin: do not retrieve latest version without update_check
If the setting 'updates.check_updates' is disabled, do not retrieve the latest version on server administration page.
Additionally, updated default values for
- updates.check_updates from false to true
- updates.check_updates_branch from stable to latest
Diffstat (limited to 'application/config')
-rw-r--r-- | application/config/ConfigManager.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/application/config/ConfigManager.php b/application/config/ConfigManager.php index a035baae..3260d7c0 100644 --- a/application/config/ConfigManager.php +++ b/application/config/ConfigManager.php | |||
@@ -370,8 +370,8 @@ class ConfigManager | |||
370 | $this->setEmpty('general.enable_async_metadata', true); | 370 | $this->setEmpty('general.enable_async_metadata', true); |
371 | $this->setEmpty('general.tags_separator', ' '); | 371 | $this->setEmpty('general.tags_separator', ' '); |
372 | 372 | ||
373 | $this->setEmpty('updates.check_updates', false); | 373 | $this->setEmpty('updates.check_updates', true); |
374 | $this->setEmpty('updates.check_updates_branch', 'stable'); | 374 | $this->setEmpty('updates.check_updates_branch', 'latest'); |
375 | $this->setEmpty('updates.check_updates_interval', 86400); | 375 | $this->setEmpty('updates.check_updates_interval', 86400); |
376 | 376 | ||
377 | $this->setEmpty('feed.rss_permalinks', true); | 377 | $this->setEmpty('feed.rss_permalinks', true); |