Update gnuboard.dbt.php

This commit is contained in:
Namhyeon Go 2018-04-11 01:30:17 +09:00 committed by GitHub
parent 3b6b1985fe
commit 60a8037797
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,6 +36,8 @@ if(!function_exists("gnb_write_post")) {
$result = false; $result = false;
$mb_id = get_current_user_name(); $mb_id = get_current_user_name();
loadHelper("networktool");
$write_fields = array(); $write_fields = array();
$write_default_fields = array( $write_default_fields = array(
"mb_id" => $mb_id, "mb_id" => $mb_id,
@ -60,7 +62,7 @@ if(!function_exists("gnb_write_post")) {
"wr_email" => "", "wr_email" => "",
"wr_homepage" => "", "wr_homepage" => "",
"wr_last" => "", "wr_last" => "",
"wr_ip" => "", "wr_ip" => get_network_client_addr(),
"wr_1" => "", "wr_1" => "",
"wr_2" => "", "wr_2" => "",
"wr_3" => "", "wr_3" => "",
@ -141,3 +143,4 @@ if(!function_exists("gnb_process_login")) {
return $result; return $result;
} }
} }