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-10-27 10:45:53 +0300
committerdiosmosis <benaka@piwik.pro>2015-10-27 10:45:53 +0300
commitcd9f9da2c76807d4e1748db08a0aebdedfab0cf7 (patch)
treea915f67ea91dc0cd8c332b158000af3b60b00a68 /config
parent07a1609223dd8af58811852919c37a19f2716d6b (diff)
Remove trusted host change and try to fix w/ ui-test.php config modification.
Diffstat (limited to 'config')
-rw-r--r--config/environment/ui-test.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/environment/ui-test.php b/config/environment/ui-test.php
index fefb038673..eaccd94bee 100644
--- a/config/environment/ui-test.php
+++ b/config/environment/ui-test.php
@@ -4,6 +4,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'];
return $config;
}),