Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authordiosmosis <benaka@piwik.pro>2015-11-01 00:33:56 +0300
committerdiosmosis <benaka@piwik.pro>2015-11-01 00:33:56 +0300
commitb4c6f9d2b63da2411855ef41e6eca77e5e64e6af (patch)
tree914e144bff4b254bdd4cd19f110ea77757f5470b /config
parent24e210313dac6c661c127b688789f1daffbe2347 (diff)
Fix config overriding in ui-test.php DI config.
Diffstat (limited to 'config')
-rw-r--r--config/environment/ui-test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/environment/ui-test.php b/config/environment/ui-test.php
index de2d549f06..b5ef0fede4 100644
--- a/config/environment/ui-test.php
+++ b/config/environment/ui-test.php
@@ -12,8 +12,8 @@ return array(
'Piwik\Config' => \DI\decorate(function (\Piwik\Config $config) {
$config->General['cors_domains'][] = '*';
- $config->trusted_hosts[] = $config->tests['http_host'];
- $config->trusted_hosts[] = $config->tests['http_host'] . ':' . $config->tests['port'];
+ $config->General['trusted_hosts'][] = $config->tests['http_host'];
+ $config->General['trusted_hosts'][] = $config->tests['http_host'] . ':' . $config->tests['port'];
return $config;
}),