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:
90635a9
)
New spider psbot/0.1
author
Joey Schulze
<joey@infodrom.org>
Sun, 7 Dec 2008 13:24:45 +0000
(13:24 +0000)
committer
Joey Schulze
<joey@infodrom.org>
Sun, 7 Dec 2008 13:24:45 +0000
(13:24 +0000)
lib/core.inc
patch
|
blob
|
history
diff --git
a/lib/core.inc
b/lib/core.inc
index
ffc9bed
..
0239b25
100644
(file)
--- a/
lib/core.inc
+++ b/
lib/core.inc
@@
-155,6
+155,7
@@
function is_spider()
strpos($_SERVER['HTTP_USER_AGENT'], 'Yahoo-MMCrawler') !== false ||
strpos($_SERVER['HTTP_USER_AGENT'], 'Charlotte/1.1') !== false ||
strpos($_SERVER['HTTP_USER_AGENT'], 'Gaisbot/3.0') !== false ||
+ strpos($_SERVER['HTTP_USER_AGENT'], 'psbot/0.1') !== false ||
strpos($_SERVER['HTTP_USER_AGENT'], 'Cityreview Robot') !== false) {
if (isset($_SESSION['uid']))
$_SESSION['robot'] = true;