projects
/
infodrom.org
/
www.zeitungsliste.de
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8d78c62
)
New Crawler: SapphireWebCrawler/Nutch-1.0-dev (Sapphire Web Crawler using Nutch;...
author
Joey Schulze
<joey@infodrom.org>
Mon, 12 Jan 2009 11:16:35 +0000
(11:16 +0000)
committer
Joey Schulze
<joey@infodrom.org>
Mon, 12 Jan 2009 11:16:35 +0000
(11:16 +0000)
lib/core.inc
patch
|
blob
|
history
diff --git
a/lib/core.inc
b/lib/core.inc
index
4576861
..
cce4379
100644
(file)
--- a/
lib/core.inc
+++ b/
lib/core.inc
@@
-157,6
+157,7
@@
function is_spider()
strpos($_SERVER['HTTP_USER_AGENT'], 'Gaisbot/3.0') !== false ||
strpos($_SERVER['HTTP_USER_AGENT'], 'psbot/0.1') !== false ||
strpos($_SERVER['HTTP_USER_AGENT'], 'Ask Jeeves/Teoma') !== false ||
+ strpos($_SERVER['HTTP_USER_AGENT'], 'SapphireWebCrawler/Nutch') !== false ||
strpos($_SERVER['HTTP_USER_AGENT'], 'Cityreview Robot') !== false) {
if (isset($_SESSION['uid']))
$_SESSION['robot'] = true;