From 517e5d117b31cfed400a721a12e441461549f7d1 Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 25 Sep 2015 15:11:21 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC=20=EA=B8=80?= =?UTF-8?q?=EC=93=B0=EA=B8=B0=20=EC=97=90=EB=94=94=ED=84=B0=20=EC=B6=9C?= =?UTF-8?q?=EB=A0=A5=20=EC=BD=94=EB=93=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/qawrite.php | 3 +-- bbs/write.php | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/bbs/qawrite.php b/bbs/qawrite.php index 8be900081..d9ffd7b98 100644 --- a/bbs/qawrite.php +++ b/bbs/qawrite.php @@ -57,8 +57,7 @@ if(is_file($skin_file)) { } $is_dhtml_editor = false; - // 모바일에서는 DHTML 에디터 사용불가 - if ($config['cf_editor'] && $qaconfig['qa_use_editor'] && !G5_IS_MOBILE) { + if ($config['cf_editor'] && $qaconfig['qa_use_editor'] && (!is_mobile() || defined('G5_IS_MOBILE_DHTML_USE') && G5_IS_MOBILE_DHTML_USE)) { $is_dhtml_editor = true; } diff --git a/bbs/write.php b/bbs/write.php index accff38db..d727f73be 100644 --- a/bbs/write.php +++ b/bbs/write.php @@ -392,7 +392,7 @@ if ($is_guest) { $is_dhtml_editor = false; $is_dhtml_editor_use = false; $editor_content_js = ''; -if(!G5_IS_MOBILE || defined('G5_IS_MOBILE_DHTML_USE') && G5_IS_MOBILE_DHTML_USE) +if($config['cf_editor'] && !is_mobile() || defined('G5_IS_MOBILE_DHTML_USE') && G5_IS_MOBILE_DHTML_USE) $is_dhtml_editor_use = true; // 모바일에서는 G5_IS_MOBILE_DHTML_USE 설정에 따라 DHTML 에디터 적용