mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-18 18:02:15 +09:00
#18991842 : add facebook ua
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7587 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
954dd255d9
commit
69e93035ef
1 changed files with 1 additions and 1 deletions
|
|
@ -852,7 +852,7 @@
|
|||
|
||||
function isCrawler($agent = null) {
|
||||
if(!$agent) $agent = $_SERVER['HTTP_USER_AGENT'];
|
||||
$check_agent = array('bot', 'spider', 'google', 'yahoo', 'daum', 'teoma', 'fish', 'hanrss');
|
||||
$check_agent = array('bot', 'spider', 'google', 'yahoo', 'daum', 'teoma', 'fish', 'hanrss', 'facebook');
|
||||
$check_ip = array(
|
||||
'211.245.21.11*' /* mixsh */
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue