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

@ -1623,8 +1623,7 @@ function is_checked($field)
function mk_subdir($subdir)
{
global $g4;
$data_path = $g4['path'].'/'.$g4['data_dir'];
$data_subpath = $data_path.'/'.$subdir;
$data_subpath = $g4['path_path'].'/'.$subdir;
if (!is_dir($data_subpath)) {
@mkdir($data_subpath, 0707);
@chmod($data_subpath, 0707);