13 lines
355 B
PHP
13 lines
355 B
PHP
<?php
|
|
include_once('./_common.php');
|
|
include_once(G5_LIB_PATH.'/json.lib.php');
|
|
|
|
if(!$bo_table)
|
|
die(json_encode(array('error'=>'게시판 정보가 올바르지 않습니다.', 'url'=>G5_URL)));
|
|
|
|
set_session('ss_write_'.$bo_table.'_token', '');
|
|
|
|
$token = get_write_token($bo_table);
|
|
|
|
die(json_encode(array('error'=>'', 'token'=>$token, 'url'=>'')));
|
|
?>
|