New spider: Charlotte/1.1
authorJoey Schulze <joey@infodrom.org>
Thu, 9 Oct 2008 20:23:35 +0000 (20:23 +0000)
committerJoey Schulze <joey@infodrom.org>
Thu, 9 Oct 2008 20:23:35 +0000 (20:23 +0000)
lib/core.inc

index c7918da..f2af406 100644 (file)
@@ -153,6 +153,7 @@ function is_spider()
       strpos($_SERVER['HTTP_USER_AGENT'], 'Baiduspider') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'MJ12bot/') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'Yahoo-MMCrawler') !== false ||
+      strpos($_SERVER['HTTP_USER_AGENT'], 'Charlotte/1.1') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'Cityreview Robot') !== false) {
     if (isset($_SESSION['uid']))
       $_SESSION['robot'] = true;