음성캡챠 스킨화하기 위해 코드 수정

This commit is contained in:
gnuboard committed 2013-04-15 17:55:26 +09:00
1 parent 5a8c8cf9e0
commit 2731e998a8
3 files changed
+25 -4

No files matched your search

+2 -2
View File
@@ -135,12 +135,12 @@ class gcaptcha
function make_mp3($captcha_filename)
{
global $g4;
global $g4, $config;
$number = (string)$_SESSION['ss_captcha_key'];
$mp3s = array();
for($i=0;$i<strlen($number);$i++){
$file = G4_GCAPTCHA_PATH.'/mp3/'.$number[$i].'.mp3';
$file = G4_GCAPTCHA_PATH.'/mp3/'.$config['cf_gcaptcha_mp3'].'/'.$number[$i].'.mp3';
$mp3s[] = $file;
}