|
@@ -53,7 +53,7 @@ class DedeStatistics { |
|
|
$pm['sign'] = sha1(http_build_query($pm).md5($cfg_cookie_encode)); |
|
|
$pm['sign'] = sha1(http_build_query($pm).md5($cfg_cookie_encode)); |
|
|
$pm['dopost'] = "stat"; |
|
|
$pm['dopost'] = "stat"; |
|
|
$url = $GLOBALS['cfg_cmspath'].'/apps/statistics.php?'.http_build_query($pm); |
|
|
$url = $GLOBALS['cfg_cmspath'].'/apps/statistics.php?'.http_build_query($pm); |
|
|
return <<<EOT |
|
|
|
|
|
|
|
|
return " |
|
|
(function() { |
|
|
(function() { |
|
|
let u = '{$url}'; |
|
|
let u = '{$url}'; |
|
|
var ms_ie = false; |
|
|
var ms_ie = false; |
|
@@ -81,8 +81,7 @@ class DedeStatistics { |
|
|
} else { |
|
|
} else { |
|
|
fetch(u); |
|
|
fetch(u); |
|
|
} |
|
|
} |
|
|
})(); |
|
|
|
|
|
EOT; |
|
|
|
|
|
|
|
|
})();"; |
|
|
} |
|
|
} |
|
|
//统计 |
|
|
//统计 |
|
|
function Record() |
|
|
function Record() |
|
|