ソースを参照

爬虫不记录

tags/6.2.1
tianya 2年前
コミット
f29ed29dd5
1個のファイルの変更4行の追加0行の削除
  1. +4
    -0
      src/system/libraries/statistics.class.php

+ 4
- 0
src/system/libraries/statistics.class.php ファイルの表示

@@ -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'])) {


読み込み中…
キャンセル
保存