New spider
authorJoey Schulze <joey@infodrom.org>
Tue, 23 Sep 2008 07:29:36 +0000 (07:29 +0000)
committerJoey Schulze <joey@infodrom.org>
Tue, 23 Sep 2008 07:29:36 +0000 (07:29 +0000)
lib/core.inc

index 792b708..f2c6646 100644 (file)
@@ -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'], '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;
       strpos($_SERVER['HTTP_USER_AGENT'], 'Cityreview Robot') !== false) {
     if (isset($_SESSION['uid']))
       $_SESSION['robot'] = true;