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:
1a3e2e5
)
New spider Ask Jeeves
author
Joey Schulze
<joey@infodrom.org>
Fri, 26 Dec 2008 08:34:21 +0000
(08:34 +0000)
committer
Joey Schulze
<joey@infodrom.org>
Fri, 26 Dec 2008 08:34:21 +0000
(08:34 +0000)
lib/core.inc
patch
|
blob
|
history
diff --git
a/lib/core.inc
b/lib/core.inc
index
0239b25
..
4576861
100644
(file)
--- a/
lib/core.inc
+++ b/
lib/core.inc
@@
-156,6
+156,7
@@
function is_spider()
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'], 'Ask Jeeves/Teoma') !== false ||
strpos($_SERVER['HTTP_USER_AGENT'], 'Cityreview Robot') !== false) {
if (isset($_SESSION['uid']))
$_SESSION['robot'] = true;