From 5852232b8bbc68472e2c86157757920a0c3e6639 Mon Sep 17 00:00:00 2001 From: Joey Schulze Date: Tue, 23 Sep 2008 07:29:36 +0000 Subject: [PATCH 1/1] New spider --- lib/core.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/core.inc b/lib/core.inc index 792b708..f2c6646 100644 --- a/lib/core.inc +++ b/lib/core.inc @@ -148,6 +148,7 @@ function is_spider() strpos($_SERVER['HTTP_USER_AGENT'], 'VisBot/2.0') !== false || strpos($_SERVER['HTTP_USER_AGENT'], 'Netluchs/Nutch-1.0') !== false || strpos($_SERVER['HTTP_USER_AGENT'], 'Yanga WorldSearch Bot') !== false || + strpos($_SERVER['HTTP_USER_AGENT'], 'Semager') !== false || strpos($_SERVER['HTTP_USER_AGENT'], 'Cityreview Robot') !== false) { if (isset($_SESSION['uid'])) $_SESSION['robot'] = true; -- 2.20.1