From 205828bb1fe0f737577b903ea2abb8b89ed144ee Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Sat, 25 Aug 2018 00:00:20 +0900 Subject: [PATCH] Update api.gnuboard.php --- route/api.gnuboard.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/route/api.gnuboard.php b/route/api.gnuboard.php index cee973d..95f6fed 100644 --- a/route/api.gnuboard.php +++ b/route/api.gnuboard.php @@ -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");