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

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

No files matched your search

+1 -1
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";
+1 -1
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;
}
?>