g4s 13-04-26일자 코드 반영

This commit is contained in:
chicpro
2013-04-26 10:54:44 +09:00
parent 091092b46a
commit 478605e149
286 changed files with 4409 additions and 3599 deletions

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