This website works better with JavaScript.
Home
Register
Sign In
DedeBIZ
/
DedeV6
Watch
2
Star
0
Fork
0
Code
Pull Requests
0
Releases
25
Activity
Browse Source
爬虫不记录
tags/6.2.1
tianya
2 years ago
parent
83cb46a671
commit
f29ed29dd5
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
src/system/libraries/statistics.class.php
+ 4
- 0
src/system/libraries/statistics.class.php
View File
@@ -20,6 +20,10 @@ class DedeStatistics {
{
global $envs,$cfg_cookie_encode;
$agent = new Agent();
//不记录爬虫
if ($agent->isRobot()) {
return "";
}
$pm = array();
$pm['dduuid'] = GetCookie("DedeStUUID");
if (empty($pm['dduuid'])) {
Write
Preview
Loading…
Cancel
Save