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
(parent:
0052d4c
)
New spider: Yahoo-MMCrawler
author
Joey Schulze
<joey@infodrom.org>
Mon, 6 Oct 2008 07:40:26 +0000
(07:40 +0000)
committer
Joey Schulze
<joey@infodrom.org>
Mon, 6 Oct 2008 07:40:26 +0000
(07:40 +0000)
lib/core.inc
patch
|
blob
|
history
diff --git
a/lib/core.inc
b/lib/core.inc
index
773642d
..
c7918da
100644
(file)
--- a/
lib/core.inc
+++ b/
lib/core.inc
@@
-152,6
+152,7
@@
function is_spider()
strpos($_SERVER['HTTP_USER_AGENT'], 'DotBot') !== false ||
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'], 'Cityreview Robot') !== false) {
if (isset($_SESSION['uid']))
$_SESSION['robot'] = true;