Merge branch 'master' of github.com:gnuboard/g5
This commit is contained in:
Binary file not shown.
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
|
|
||||||
//require_once 'PEAR.php';
|
//require_once 'PEAR.php';
|
||||||
require_once 'oleread.inc';
|
require_once 'oleread.inc.php';
|
||||||
//require_once 'OLE.php';
|
//require_once 'OLE.php';
|
||||||
|
|
||||||
define('SPREADSHEET_EXCEL_READER_BIFF8', 0x600);
|
define('SPREADSHEET_EXCEL_READER_BIFF8', 0x600);
|
||||||
|
|||||||
@ -237,6 +237,9 @@ class KCAPTCHA{
|
|||||||
// 캡챠 HTML 코드 출력
|
// 캡챠 HTML 코드 출력
|
||||||
function captcha_html($class="captcha")
|
function captcha_html($class="captcha")
|
||||||
{
|
{
|
||||||
|
if(is_mobile())
|
||||||
|
$class .= ' m_captcha';
|
||||||
|
|
||||||
$html .= "\n".'<script>var g5_captcha_url = "'.G5_CAPTCHA_URL.'";</script>';
|
$html .= "\n".'<script>var g5_captcha_url = "'.G5_CAPTCHA_URL.'";</script>';
|
||||||
//$html .= "\n".'<script>var g5_captcha_path = "'.G5_CAPTCHA_PATH.'";</script>';
|
//$html .= "\n".'<script>var g5_captcha_path = "'.G5_CAPTCHA_PATH.'";</script>';
|
||||||
$html .= "\n".'<script src="'.G5_CAPTCHA_URL.'/kcaptcha.js"></script>';
|
$html .= "\n".'<script src="'.G5_CAPTCHA_URL.'/kcaptcha.js"></script>';
|
||||||
|
|||||||
Reference in New Issue
Block a user