From 3a8f88b7031e7cd0a2222061076a121a2da03a50 Mon Sep 17 00:00:00 2001 From: thisgun Date: Fri, 18 Jul 2014 16:06:31 +0900 Subject: [PATCH] =?UTF-8?q?=EC=8A=A4=EB=A7=88=ED=8A=B8=20=EC=97=90?= =?UTF-8?q?=EB=94=94=ED=84=B0=20=EC=97=85=EB=A1=9C=EB=93=9C=20json=5Fencod?= =?UTF-8?q?e=ED=95=A8=EC=88=98=20=EB=8C=80=EC=B2=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../smarteditor2/photo_uploader/popup/php/index.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/plugin/editor/smarteditor2/photo_uploader/popup/php/index.php b/plugin/editor/smarteditor2/photo_uploader/popup/php/index.php index 7afd9da51..771b9f60d 100644 --- a/plugin/editor/smarteditor2/photo_uploader/popup/php/index.php +++ b/plugin/editor/smarteditor2/photo_uploader/popup/php/index.php @@ -10,6 +10,15 @@ * http://www.opensource.org/licenses/MIT */ include_once("../../../../../../common.php"); +@include_once("../../../../../../plugin/sms5/JSON.php"); + +if( !function_exists('json_encode') ) { + function json_encode($data) { + $json = new Services_JSON(); + return( $json->encode($data) ); + } +} + ini_set('gd.jpeg_ignore_warning', 1); $ym = date('ym', G5_SERVER_TIME);