Update outdated comment

remotes/origin/stable6
Volkan Gezer 12 years ago
parent 283a8b9624
commit 65ea07fc54
  1. 2
      lib/private/updater.php

@ -114,7 +114,7 @@ class Updater extends BasicEmitter {
* START CONFIG CHANGES FOR OLDER VERSIONS
*/
if (!\OC::$CLI && version_compare($installedVersion, '6.00.4', '<')) {
// Add the overwriteHost config if it is not existant
// Add the trusted_domains 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…
Cancel
Save