From 99165f3c82e035880acdcb5bc0ccb6fa08bf85e2 Mon Sep 17 00:00:00 2001 From: thisgun Date: Fri, 18 Jul 2014 16:19:28 +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=5Fcommon.php=ED=8C=8C=EC=9D=BC=20?= =?UTF-8?q?=EA=B2=BD=EB=A1=9C=20=EC=A7=80=EC=A0=95=20=EB=B0=8F=20JSON?= =?UTF-8?q?=ED=8C=8C=EC=9D=BC=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../smarteditor2/photo_uploader/popup/php/_common.php | 3 +++ .../editor/smarteditor2/photo_uploader/popup/php/index.php | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 plugin/editor/smarteditor2/photo_uploader/popup/php/_common.php diff --git a/plugin/editor/smarteditor2/photo_uploader/popup/php/_common.php b/plugin/editor/smarteditor2/photo_uploader/popup/php/_common.php new file mode 100644 index 000000000..03a15a0b2 --- /dev/null +++ b/plugin/editor/smarteditor2/photo_uploader/popup/php/_common.php @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/plugin/editor/smarteditor2/photo_uploader/popup/php/index.php b/plugin/editor/smarteditor2/photo_uploader/popup/php/index.php index 771b9f60d..a6b71306d 100644 --- a/plugin/editor/smarteditor2/photo_uploader/popup/php/index.php +++ b/plugin/editor/smarteditor2/photo_uploader/popup/php/index.php @@ -9,8 +9,8 @@ * Licensed under the MIT license: * http://www.opensource.org/licenses/MIT */ -include_once("../../../../../../common.php"); -@include_once("../../../../../../plugin/sms5/JSON.php"); +include_once("./_common.php"); +@include_once("./JSON.php"); if( !function_exists('json_encode') ) { function json_encode($data) { @@ -19,7 +19,7 @@ if( !function_exists('json_encode') ) { } } -ini_set('gd.jpeg_ignore_warning', 1); +@ini_set('gd.jpeg_ignore_warning', 1); $ym = date('ym', G5_SERVER_TIME);