bbs/write_update.php에서 시간 체크하는 부분을 특정게시판일때 체크하지 않도록 수정..
if($bo_table != "특정게시판") {
if ($_SESSION["ss_datetime"] >= ($g4[server_time] - $config[cf_delay_sec]) && !$is_admin)
alert("너무 빠른 시간내에 게시물을 연속해서 올릴 수 없습니다.");
}
bbs/write_comment_update.php에서 시간 체크하는 부분을 특정게시판일때 체크하지 않도록 수정..
if($bo_table != "특정게시판") {
if ($w == "c" && $_SESSION["ss_datetime"] >= ($g4[server_time] - $config[cf_delay_sec]) && !$is_admin)
alert("너무 빠른 시간내에 게시물을 연속해서 올릴 수 없습니다.");
}
댓글 2개
if($bo_table != "특정게시판") {
if ($_SESSION["ss_datetime"] >= ($g4[server_time] - $config[cf_delay_sec]) && !$is_admin)
alert("너무 빠른 시간내에 게시물을 연속해서 올릴 수 없습니다.");
}
bbs/write_comment_update.php에서 시간 체크하는 부분을 특정게시판일때 체크하지 않도록 수정..
if($bo_table != "특정게시판") {
if ($w == "c" && $_SESSION["ss_datetime"] >= ($g4[server_time] - $config[cf_delay_sec]) && !$is_admin)
alert("너무 빠른 시간내에 게시물을 연속해서 올릴 수 없습니다.");
}
if ($w == "" || $w == "r")
{
if ($_SESSION["ss_datetime"] >= ($g4[server_time] - $config[cf_delay_sec]) && !$is_admin)
alert("너무 빠른 시간내에 게시물을 연속해서 올릴 수 없습니다.");
------------------------------------------------
bbs/write_update.php에서 위 부분을 아래처럼 수정해서 했는데 에러가 발생되네요
------------------------------------------------
if($bo_table != "_story01") {
if ($_SESSION["ss_datetime"] >= ($g4[server_time] - $config[cf_delay_sec]) && !$is_admin)
alert("너무 빠른 시간내에 게시물을 연속해서 올릴 수 없습니다.");
}
------------------------------------------------