캡차이미지와 캡챠음성파일을 미리 만들어 놓고 img src 에 노출하는 방식으로 변경
This commit is contained in:
@ -2,12 +2,17 @@
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
if (defined('_CAPTCHA_')) {
|
||||
$captcha = (object)array(
|
||||
'lib' => $g4['path']."/plugin/captcha/captcha.lib.php",
|
||||
'js' => $g4['path']."/plugin/captcha/captcha.js"
|
||||
$captcha = (object)Array(
|
||||
'lib' => $g4['path']."/plugin/captcha/captcha.lib.php",
|
||||
'js' => $g4['path']."/plugin/captcha/captcha.js",
|
||||
'fonts' => $g4['path']."/plugin/captcha/fonts"
|
||||
);
|
||||
|
||||
include_once($captcha->lib);
|
||||
$g4['js_file'][] = $captcha->js;
|
||||
|
||||
$captcha_obj = new captcha();
|
||||
$captcha_obj->run();
|
||||
} else {
|
||||
unset($_SESSION['ss_captcha_use']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user