resize_image 애드온에서 크롤러 체크 수정

This commit is contained in:
bnu 2014-10-05 15:45:05 +09:00
parent a30ee4d573
commit eb85783ad0

View file

@ -2,14 +2,16 @@
/* Copyright (C) NAVER <http://www.navercorp.com> */
if(!defined('__XE__'))
{
exit();
}
/**
* @file resize_image.addon.php
* @author NAVER (developers@xpressengine.com)
* @brief Add-on to resize images in the body
*/
if($called_position == 'after_module_proc' && (Context::getResponseMethod() == "HTML" || !isCrawler()))
if($called_position == 'after_module_proc' && Context::getResponseMethod() == "HTML" && !isCrawler())
{
if(Mobile::isFromMobilePhone())
{