diff options
author | Marcin Czołnowski <marcin@czolnowski.net> | 2014-08-03 22:53:24 +0400 |
---|---|---|
committer | Marcin Czołnowski <marcin@czolnowski.net> | 2014-08-03 22:53:24 +0400 |
commit | e82af4b680c00f0d148a0e52fd11baa826a4297c (patch) | |
tree | 2c7637eba2138b6db174aee43b3a022c7211daed /config | |
parent | 84b0c351265f9d961a39d694e6cc6db21f4316e4 (diff) |
Add feature to persist cors hosts in config, edit in general settings tab and append to API headers if any is set.
Diffstat (limited to 'config')
-rw-r--r-- | config/global.ini.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/global.ini.php b/config/global.ini.php index 76b16ca454..5d6d138f9b 100644 --- a/config/global.ini.php +++ b/config/global.ini.php @@ -385,6 +385,13 @@ enable_trusted_host_check = 1 ;trusted_hosts[] = example.com ;trusted_hosts[] = stats.example.com +; List of Cross-origin resource sharing hosts (eg domain or subdomain names) when generating absolute URLs. +; Described here: http://en.wikipedia.org/wiki/Cross-origin_resource_sharing +; +; Examples: +;cors_hosts[] = example.com +;cors_hosts[] = stats.example.com + ; If you use this Piwik instance over multiple hostnames, Piwik will need to know ; a unique instance_id for this instance, so that Piwik can serve the right custom logo and tmp/* assets, ; independantly of the hostname Piwik is currently running under. |