fixed #217 crawler 접근 시 불필요한 애드온 동작을 처리하지 않도록 개선.

This commit is contained in:
bnu 2013-12-25 01:44:02 +09:00
parent d49b2307e7
commit 7ee20bd2d7
4 changed files with 6 additions and 4 deletions

View file

@ -9,7 +9,7 @@ if(!defined('__XE__'))
* @author NAVER (developers@xpressengine.com)
* @brief Add-on to resize images in the body
*/
if($called_position == 'after_module_proc' && Context::getResponseMethod() == "HTML")
if($called_position == 'after_module_proc' && Context::getResponseMethod() == "HTML" || !isCrawler())
{
if(Mobile::isFromMobilePhone())
{