경로 정리 - 큰일었어요!!!
This commit is contained in:
@ -34,7 +34,7 @@ if ($member['mb_level'] < $board['bo_download_level']) {
|
||||
alert($alert_msg.'\\n회원이시라면 로그인 후 이용해 보십시오.', './login.php?wr_id='.$wr_id.'&'.$qstr.'&url='.urlencode($g4['bbs_path'].'/board.php?bo_table='.$bo_table.'&wr_id='.$wr_id));
|
||||
}
|
||||
|
||||
$filepath = $g4['path'].'/data/file/'.$bo_table.'/'.$file['bf_file'];
|
||||
$filepath = G4_PATH.'/data/file/'.$bo_table.'/'.$file['bf_file'];
|
||||
$filepath = addslashes($filepath);
|
||||
if (!is_file($filepath) || !file_exists($filepath))
|
||||
alert('파일이 존재하지 않습니다.');
|
||||
|
||||
Reference in New Issue
Block a user