tianya 3 лет назад
Родитель
Сommit
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; global $envs,$cfg_cookie_encode;
$agent = new Agent(); $agent = new Agent();
//不记录爬虫
if ($agent->isRobot()) {
return "";
}
$pm = array(); $pm = array();
$pm['dduuid'] = GetCookie("DedeStUUID"); $pm['dduuid'] = GetCookie("DedeStUUID");
if (empty($pm['dduuid'])) { if (empty($pm['dduuid'])) {


Загрузка…
Отмена
Сохранить