mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
네이버, 다음 등 일부 봇들을 인식하지 못하는 문제 수정
This commit is contained in:
parent
f9f96ddead
commit
ce5a730505
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ class UA
|
|||
}
|
||||
|
||||
// Look for common search engine names and the 'bot' keyword.
|
||||
if (preg_match('/bot|slurp|facebook(externalhit|scraper)|ia_archiver|ask jeeves|teoma|baidu|daumoa|lycos|pingdom/i', $ua))
|
||||
if (preg_match('/bot|spider|crawler|archiver|wget|curl|slurp|facebook|teoma|yeti|daum|https?:|@/i', $ua))
|
||||
{
|
||||
return self::$_robot_cache[$ua] = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue