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:
f816208
)
New spider
author
Joey Schulze
<joey@infodrom.org>
Tue, 23 Sep 2008 07:29:36 +0000
(07:29 +0000)
committer
Joey Schulze
<joey@infodrom.org>
Tue, 23 Sep 2008 07:29:36 +0000
(07:29 +0000)
lib/core.inc
patch
|
blob
|
history
diff --git
a/lib/core.inc
b/lib/core.inc
index
792b708
..
f2c6646
100644
(file)
--- a/
lib/core.inc
+++ b/
lib/core.inc
@@
-148,6
+148,7
@@
function is_spider()
strpos($_SERVER['HTTP_USER_AGENT'], 'VisBot/2.0') !== false ||
strpos($_SERVER['HTTP_USER_AGENT'], 'Netluchs/Nutch-1.0') !== false ||
strpos($_SERVER['HTTP_USER_AGENT'], 'Yanga WorldSearch Bot') !== false ||
strpos($_SERVER['HTTP_USER_AGENT'], 'VisBot/2.0') !== false ||
strpos($_SERVER['HTTP_USER_AGENT'], 'Netluchs/Nutch-1.0') !== false ||
strpos($_SERVER['HTTP_USER_AGENT'], 'Yanga WorldSearch Bot') !== false ||
+ strpos($_SERVER['HTTP_USER_AGENT'], 'Semager') !== false ||
strpos($_SERVER['HTTP_USER_AGENT'], 'Cityreview Robot') !== false) {
if (isset($_SESSION['uid']))
$_SESSION['robot'] = true;
strpos($_SERVER['HTTP_USER_AGENT'], 'Cityreview Robot') !== false) {
if (isset($_SESSION['uid']))
$_SESSION['robot'] = true;