mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
fixed #217 crawler 접근 시 불필요한 애드온 동작을 처리하지 않도록 개선.
This commit is contained in:
parent
d49b2307e7
commit
7ee20bd2d7
4 changed files with 6 additions and 4 deletions
|
|
@ -2,7 +2,9 @@
|
|||
/* Copyright (C) NAVER <http://www.navercorp.com> */
|
||||
|
||||
if(!defined('__XE__'))
|
||||
{
|
||||
exit();
|
||||
}
|
||||
|
||||
/**
|
||||
* @file image_name.addon.php
|
||||
|
|
@ -15,7 +17,7 @@ if(!defined('__XE__'))
|
|||
/**
|
||||
* Just before displaying, change image name/ image mark
|
||||
*/
|
||||
if(Context::get('act') == 'dispPageAdminContentModify' || $called_position != "before_display_content")
|
||||
if($called_position != "before_display_content" || Context::get('act') == 'dispPageAdminContentModify' || Context::getResponseMethod() != 'HTML' || isCrawler())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue