diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2019-03-12 23:32:28 +0300 |
---|---|---|
committer | diosmosis <diosmosis@users.noreply.github.com> | 2019-03-12 23:32:28 +0300 |
commit | 549578d0d34d15bfe4f1048225e29a2e5ad2fb4d (patch) | |
tree | 5a1cf31c839a058cb40ab8ea72461a4da2265d72 /config | |
parent | f613456b253f2a5261dd6825ef14a7aaf0661ea0 (diff) |
New setting to disable Db version check, and do not show update scree…n when auto update disabled (#14058)
* New setting to disable Db version check, and do not show update screen when auto update disabled
* move it to DI
Diffstat (limited to 'config')
-rw-r--r-- | config/global.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/config/global.php b/config/global.php index 8833f4841b..b9eca9e9b0 100644 --- a/config/global.php +++ b/config/global.php @@ -79,6 +79,16 @@ return array( 'observers.global' => array(), + /** + * By setting this option to false, the check that the DB schema version matches the version of the source code will be no longer performed. + * Thus it allows you to execute for example a newer version of Matomo with an older Matomo database version. Please note + * disabling this setting is not recommended because often an older DB version is not compatible with newer source code. + * If you disable this setting, make sure to execute the updates after updating the source code. The setting can be useful if + * you want to update Matomo without any outage when you know the current source code update will still run fine for a short time + * while in the background the database updates are running. + */ + 'EnableDbVersionCheck' => true, + 'fileintegrity.ignore' => DI\add(array( '*.htaccess', '*web.config', |