New crawler
authorJoey Schulze <joey@infodrom.org>
Sat, 10 Jul 2010 05:44:10 +0000 (05:44 +0000)
committerJoey Schulze <joey@infodrom.org>
Sat, 10 Jul 2010 05:44:10 +0000 (05:44 +0000)
lib/core.inc

index bbd92aa..774b43f 100644 (file)
@@ -174,6 +174,7 @@ function is_spider()
       strpos($_SERVER['HTTP_USER_AGENT'], 'SurveyBot/2.3') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'XmarksFetch/1.0') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'spbot/2.0') !== false ||
+      strpos($_SERVER['HTTP_USER_AGENT'], 'TinEye/1.1') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'Cityreview Robot') !== false) {
     if (isset($_SESSION['uid']))
       $_SESSION['robot'] = true;