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
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2020-07-05 23:19:35 +0300
committerGitHub <noreply@github.com>2020-07-05 23:19:35 +0300
commit57e252ff5a2fcfaf634a6ee2dd1ec7af8d41632d (patch)
tree5068eb2ffdbcc7c0dc8478caaa43700cb3edd530 /tests/resources/install-matomo.php
parent41615714f22f91c03d60f220bd91b80467bb5b7b (diff)
Improve host validation (#16169)
Diffstat (limited to 'tests/resources/install-matomo.php')
-rw-r--r--tests/resources/install-matomo.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/resources/install-matomo.php b/tests/resources/install-matomo.php
index 4770719ea0..7fa2587a52 100644
--- a/tests/resources/install-matomo.php
+++ b/tests/resources/install-matomo.php
@@ -150,6 +150,7 @@ function getTokenAuth()
}
$_SERVER['HTTP_HOST'] = $host;
+$_SERVER['SERVER_NAME'] = $host;
$dbConfig['dbname'] = 'latest_stable';
file_put_contents(PIWIK_INCLUDE_PATH . "/config/config.ini.php", '');