data/cache 서브디렉토리명 변경

This commit is contained in:
gnuboard
2013-01-23 18:01:43 +09:00
parent f0413606bc
commit e649644a1a
4 changed files with 11 additions and 10 deletions

View File

@ -2,7 +2,7 @@
include_once('./_common.php');
$file = addslashes($_GET['file']);
$captcha_path = mk_subdir($g4['cache_dir'].'/'.$g4['captcha_dir']);
$captcha_path = mk_subdir($g4['cache_captcha_dir']);
$filepath = $captcha_path.'/'.$file;
$original = "number.wav";

View File

@ -247,7 +247,7 @@ function captcha_file($extension='.png')
{
global $g4;
mk_subdir($g4['cache_dir']);
$captcha_path = mk_subdir($g4['cache_dir'].'/'.$g4['captcha_dir']);
$captcha_path = mk_subdir($g4['cache_captcha_dir']);
return $captcha_path.'/'.abs_ip2long().'_'.$_COOKIE['PHPSESSID'].$extension;
}
?>