Another spider
authorJoey Schulze <joey@infodrom.org>
Mon, 30 Jun 2008 06:17:32 +0000 (06:17 +0000)
committerJoey Schulze <joey@infodrom.org>
Mon, 30 Jun 2008 06:17:32 +0000 (06:17 +0000)
lib/core.inc

index 00645a6..021ec81 100644 (file)
@@ -144,6 +144,7 @@ function is_spider()
       strpos($_SERVER['HTTP_USER_AGENT'], 'msnbot') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'Twiceler-0.9') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'ScoutJet') !== false ||
+      strpos($_SERVER['HTTP_USER_AGENT'], 'penthesilea/0.3') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'Cityreview Robot') !== false) {
     if (isset($_SESSION['uid']))
       $_SESSION['robot'] = true;