mirror of
https://github.com/nextcloud/server.git
synced 2026-06-14 19:20:35 -04:00
Use $installedVersion instead of $currentVersion
Additionally use 6.00.4 as the internal version has been changed
This commit is contained in:
parent
c358373dfa
commit
ce5f8d72a4
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ class Updater extends BasicEmitter {
|
|||
/*
|
||||
* START CONFIG CHANGES FOR OLDER VERSIONS
|
||||
*/
|
||||
if (version_compare($currentVersion, '6.00.1', '<')) {
|
||||
if (version_compare($installedVersion, '6.00.4', '<')) {
|
||||
// Add the overwriteHost config if it is not existant
|
||||
// This is added to prevent host header poisoning
|
||||
\OC_Config::setValue('trusted_domains', \OC_Config::getValue('trusted_domains', array(\OC_Request::serverHost())));
|
||||
|
|
|
|||
Loading…
Reference in a new issue