add MatomoProtocol
Signed-off-by: WaitSpring <me@waitspring.com>
这个提交包含在:
父节点
664099ab45
当前提交
e7a5bbad7c
|
@ -17,6 +17,7 @@
|
|||
},
|
||||
"config": {
|
||||
"MatomoIDSite": "",
|
||||
"MatomoProtocol": "auto",
|
||||
"MatomoURL": "",
|
||||
"MatomoEndpoint": "matomo.php",
|
||||
"MatomoIgnoreBots": true,
|
||||
|
|
|
@ -133,7 +133,6 @@ class Hooks
|
|||
|
||||
// Check if server uses https
|
||||
if ($protocol == 'auto') {
|
||||
|
||||
if (
|
||||
isset($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] == 'on' || $_SERVER['HTTPS'] == 1) || isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https'
|
||||
) {
|
||||
|
|
正在加载...
在新工单中引用
屏蔽一个用户