mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Add robot user-agent list for ask.com robot. (Mozilla/5.0 (compatible; Ask Jeeves/Teoma; +http://about.ask.com/en/docs/about/webmasters.shtml))
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7072 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f918062acc
commit
ca24f4dee0
1 changed files with 1 additions and 1 deletions
|
|
@ -838,7 +838,7 @@
|
|||
|
||||
function isCrawler($agent = null) {
|
||||
if(!$agent) $agent = $_SERVER['HTTP_USER_AGENT'];
|
||||
$check_agent = array('bot', 'spider', 'google', 'yahoo', 'daum', 'fish', 'hanrss');
|
||||
$check_agent = array('bot', 'spider', 'google', 'yahoo', 'daum', 'teoma', 'fish', 'hanrss');
|
||||
$check_ip = array(
|
||||
'211.245.21.11*' /* mixsh */
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue