From eb85783ad09583a14407d5ae4cac80306bd55c64 Mon Sep 17 00:00:00 2001 From: bnu Date: Sun, 5 Oct 2014 15:45:05 +0900 Subject: [PATCH] =?UTF-8?q?resize=5Fimage=20=EC=95=A0=EB=93=9C=EC=98=A8?= =?UTF-8?q?=EC=97=90=EC=84=9C=20=ED=81=AC=EB=A1=A4=EB=9F=AC=20=EC=B2=B4?= =?UTF-8?q?=ED=81=AC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- addons/resize_image/resize_image.addon.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/resize_image/resize_image.addon.php b/addons/resize_image/resize_image.addon.php index 7ec0507bb..1ec8a5439 100644 --- a/addons/resize_image/resize_image.addon.php +++ b/addons/resize_image/resize_image.addon.php @@ -2,14 +2,16 @@ /* Copyright (C) NAVER */ 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()) {