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:
1a7c8c5
)
New crawler
author
Joey Schulze
<joey@infodrom.org>
Sat, 10 Jul 2010 05:44:10 +0000
(
05:44
+0000)
committer
Joey Schulze
<joey@infodrom.org>
Sat, 10 Jul 2010 05:44:10 +0000
(
05:44
+0000)
lib/core.inc
patch
|
blob
|
history
diff --git
a/lib/core.inc
b/lib/core.inc
index
bbd92aa
..
774b43f
100644
(file)
--- a/
lib/core.inc
+++ b/
lib/core.inc
@@
-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;