Update api.gnuboard.php

This commit is contained in:
Namhyeon Go 2018-08-25 00:00:20 +09:00 committed by GitHub
parent 0b5983b4bb
commit 205828bb1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,8 @@
/* read: GET/POST [base_url]/?route=gnbapi&action=read&bo_table=[bo_table]&wr_id=[wr_id] */
/* write: GET/POST [base_url]/?route=gnbapi&action=write&bo_table=[bo_table]&wr_subject=mysubject&wr_content=mycontent&version=[4 or 5] */
if(!defined("_DEF_RSF_")) set_error_exit("do not allow access");
loadHelper("gnuboard.dbt");
$action = get_requested_value("action");