captcha 코드 변경중

This commit is contained in:
gnuboard
2013-01-10 11:31:59 +09:00
parent c27361cb9c
commit 90ecd50767
5 changed files with 10 additions and 6 deletions

View File

@ -1,4 +1,5 @@
<?
define('_CAPTCHA_', true);
include_once('./_common.php');
if (!$board['bo_table']) {

View File

@ -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');
// 코멘트를 새창으로 여는 경우 세션값이 없으므로 생성한다.

View File

@ -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;