diff options
author | mattab <matthieu.aubry@gmail.com> | 2015-04-10 04:17:31 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2015-04-10 04:17:31 +0300 |
commit | 9e269c7e203ebff7a0c46f1627feb26c4ad56429 (patch) | |
tree | 4034f9eafaa74266fbfee392cf708f5e8cd6c7ec /config | |
parent | 96be0c46c01a3081b9fa82fd9aabab6af652ab50 (diff) |
Access-Control-Allow-Origin: * when a cors_domain[] is set to * in the config file
implement what's documented in FAQ and config file which was not actually implemented
fixes #7626
Diffstat (limited to 'config')
-rw-r--r-- | config/global.ini.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/global.ini.php b/config/global.ini.php index 4e075a22a4..0ac5655924 100644 --- a/config/global.ini.php +++ b/config/global.ini.php @@ -462,7 +462,8 @@ enable_trusted_host_check = 1 ; Examples: ;cors_domains[] = http://example.com ;cors_domains[] = http://stats.example.com -; OR allow for all domains +; +; Or you may allow cross domain requests for all domains with: ;cors_domains[] = * ; If you use this Piwik instance over multiple hostnames, Piwik will need to know |