스마트 에디터 _common.php파일 경로 지정 및 JSON파일 추가

This commit is contained in:
thisgun
2014-07-18 16:19:28 +09:00
parent 3a8f88b703
commit 99165f3c82
2 changed files with 6 additions and 3 deletions

View File

@ -0,0 +1,3 @@
<?php
include_once("../../../../../../common.php");
?>

View File

@ -9,8 +9,8 @@
* Licensed under the MIT license: * Licensed under the MIT license:
* http://www.opensource.org/licenses/MIT * http://www.opensource.org/licenses/MIT
*/ */
include_once("../../../../../../common.php"); include_once("./_common.php");
@include_once("../../../../../../plugin/sms5/JSON.php"); @include_once("./JSON.php");
if( !function_exists('json_encode') ) { if( !function_exists('json_encode') ) {
function json_encode($data) { 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); $ym = date('ym', G5_SERVER_TIME);