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);