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:
bbb65ad
)
new spider
author
Joey Schulze
<joey@infodrom.org>
Mon, 30 Aug 2010 08:00:45 +0000
(08:00 +0000)
committer
Joey Schulze
<joey@infodrom.org>
Mon, 30 Aug 2010 08:00:45 +0000
(08:00 +0000)
lib/core.inc
patch
|
blob
|
history
diff --git
a/lib/core.inc
b/lib/core.inc
index
9a39761
..
ed69a1f
100644
(file)
--- a/
lib/core.inc
+++ b/
lib/core.inc
@@
-180,6
+180,7
@@
function is_spider()
strpos($_SERVER['HTTP_USER_AGENT'], 'libwww-perl') !== false ||
strpos($_SERVER['HTTP_USER_AGENT'], 'Wget') !== false ||
strpos($_SERVER['HTTP_USER_AGENT'], 'Python-urllib') !== false ||
+ strpos($_SERVER['HTTP_USER_AGENT'], 'CamontSpider/1.0') !== false ||
strpos($_SERVER['HTTP_USER_AGENT'], 'Cityreview Robot') !== false) {
if (isset($_SESSION['uid']))
$_SESSION['robot'] = true;