diff options
author | diosmosis <benaka@piwik.pro> | 2015-11-01 00:33:56 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-11-01 00:33:56 +0300 |
commit | b4c6f9d2b63da2411855ef41e6eca77e5e64e6af (patch) | |
tree | 914e144bff4b254bdd4cd19f110ea77757f5470b /config/environment | |
parent | 24e210313dac6c661c127b688789f1daffbe2347 (diff) |
Fix config overriding in ui-test.php DI config.
Diffstat (limited to 'config/environment')
-rw-r--r-- | config/environment/ui-test.php | 4 |
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; }), |