mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 06:13:32 +09:00
믹시가 사라져서 해당 코드 부분 주석처리.
033f771cd4 에 보완 커밋.
믹시는 없어졌지만, IP로 로봇을 구분해야 할 일이 있을 것 같아서 해당 코드 부분을 완전히 삭제하지 않고 주석 형태로 남겨둠.
Ask 사이트의 로봇 하나 추가.
This commit is contained in:
parent
033f771cd4
commit
d1d8896d20
1 changed files with 2 additions and 2 deletions
|
|
@ -1487,9 +1487,9 @@ function isCrawler($agent = NULL)
|
|||
$agent = $_SERVER['HTTP_USER_AGENT'];
|
||||
}
|
||||
|
||||
$check_agent = array('bot', 'spider', 'spyder', 'crawl', 'http://', 'google', 'yahoo', 'slurp', 'yeti', 'daum', 'teoma', 'fish', 'hanrss', 'facebook', 'yandex', 'infoseek', 'stackrambler');
|
||||
$check_agent = array('bot', 'spider', 'spyder', 'crawl', 'http://', 'google', 'yahoo', 'slurp', 'yeti', 'daum', 'teoma', 'fish', 'hanrss', 'facebook', 'yandex', 'infoseek', 'askjeeves', 'stackrambler');
|
||||
$check_ip = array(
|
||||
'211.245.21.110-211.245.21.119' /* mixsh */
|
||||
/*'211.245.21.110-211.245.21.119' mixsh is closed */
|
||||
);
|
||||
|
||||
foreach($check_agent as $str)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue