captcha 코드 변경중
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
<?
|
||||
define('_CAPTCHA_', true);
|
||||
include_once('./_common.php');
|
||||
|
||||
if (!$board['bo_table']) {
|
||||
|
||||
@ -1,6 +1,11 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
$captcha_html = "";
|
||||
if ($is_guest) {
|
||||
$captcha_html = captcha_html('wr_key', '_comment');
|
||||
}
|
||||
|
||||
@include_once($board_skin_path.'/view_comment.head.skin.php');
|
||||
|
||||
// 코멘트를 새창으로 여는 경우 세션값이 없으므로 생성한다.
|
||||
|
||||
@ -207,7 +207,7 @@ if ($board['bo_use_dhtml_editor'] && $member['mb_level'] >= $board['bo_html_leve
|
||||
|
||||
$captcha_html = "";
|
||||
if ($is_guest) {
|
||||
$captcha_html = get_captcha('wr_key');
|
||||
$captcha_html = captcha_html('wr_key');
|
||||
}
|
||||
|
||||
$is_mail = false;
|
||||
|
||||
Reference in New Issue
Block a user