스마트 에디터 업로드 json_encode함수 대체

This commit is contained in:
thisgun
2014-07-18 16:06:31 +09:00
parent 1950db98ab
commit 3a8f88b703

View File

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