경로 및 파일명 수정

This commit is contained in:
gnuboard
2013-02-19 14:40:42 +09:00
parent 06f2c72d84
commit 58f7a7ccd7
59 changed files with 78 additions and 390 deletions

View File

@ -34,7 +34,7 @@ if ($member['mb_level'] < $board['bo_download_level']) {
alert($alert_msg.'\\n회원이시라면 로그인 후 이용해 보십시오.', './login.php?wr_id='.$wr_id.'&amp;'.$qstr.'&amp;url='.urlencode($g4['bbs_path'].'/board.php?bo_table='.$bo_table.'&amp;wr_id='.$wr_id));
}
$filepath = G4_PATH.'/data/file/'.$bo_table.'/'.$file['bf_file'];
$filepath = G4_DATA_PATH.'/file/'.$bo_table.'/'.$file['bf_file'];
$filepath = addslashes($filepath);
if (!is_file($filepath) || !file_exists($filepath))
alert('파일이 존재하지 않습니다.');