From df553b2ead3a8bb5ec3c97859fa6494a31b6c461 Mon Sep 17 00:00:00 2001 From: Joey Schulze Date: Wed, 9 May 2012 07:50:09 +0000 Subject: [PATCH] Two more spider --- lib/core.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/core.inc b/lib/core.inc index 0d709de..965a7d9 100644 --- a/lib/core.inc +++ b/lib/core.inc @@ -202,6 +202,8 @@ function is_spider() strpos($_SERVER['HTTP_USER_AGENT'], 'AhrefsBot/') !== false || strpos($_SERVER['HTTP_USER_AGENT'], 'Crawler') !== false || strpos($_SERVER['HTTP_USER_AGENT'], 'Acoon') !== false || + strpos($_SERVER['HTTP_USER_AGENT'], 'aiHitBot') !== false || + strpos($_SERVER['HTTP_USER_AGENT'], 'SeznamBot') !== false || strpos($_SERVER['HTTP_USER_AGENT'], 'Cityreview Robot') !== false) { if (isset($_SESSION['uid'])) $_SESSION['robot'] = true; -- 2.20.1