From 10da55d3e91b4845bf50158bf95fc0a625530d34 Mon Sep 17 00:00:00 2001 From: Joey Schulze Date: Mon, 30 Aug 2010 08:00:45 +0000 Subject: [PATCH] new spider --- lib/core.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/core.inc b/lib/core.inc index 9a39761..ed69a1f 100644 --- a/lib/core.inc +++ b/lib/core.inc @@ -180,6 +180,7 @@ function is_spider() strpos($_SERVER['HTTP_USER_AGENT'], 'libwww-perl') !== false || strpos($_SERVER['HTTP_USER_AGENT'], 'Wget') !== false || strpos($_SERVER['HTTP_USER_AGENT'], 'Python-urllib') !== false || + strpos($_SERVER['HTTP_USER_AGENT'], 'CamontSpider/1.0') !== false || strpos($_SERVER['HTTP_USER_AGENT'], 'Cityreview Robot') !== false) { if (isset($_SESSION['uid'])) $_SESSION['robot'] = true; -- 2.20.1