From 1a3e2e54c20c7f356c8d9641fb5ff1a2193669f7 Mon Sep 17 00:00:00 2001 From: Joey Schulze Date: Sun, 7 Dec 2008 13:24:45 +0000 Subject: [PATCH] New spider psbot/0.1 --- lib/core.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/core.inc b/lib/core.inc index ffc9bed..0239b25 100644 --- a/lib/core.inc +++ b/lib/core.inc @@ -155,6 +155,7 @@ function is_spider() strpos($_SERVER['HTTP_USER_AGENT'], 'Yahoo-MMCrawler') !== false || strpos($_SERVER['HTTP_USER_AGENT'], 'Charlotte/1.1') !== false || strpos($_SERVER['HTTP_USER_AGENT'], 'Gaisbot/3.0') !== false || + strpos($_SERVER['HTTP_USER_AGENT'], 'psbot/0.1') !== false || strpos($_SERVER['HTTP_USER_AGENT'], 'Cityreview Robot') !== false) { if (isset($_SESSION['uid'])) $_SESSION['robot'] = true; -- 2.20.1