파일 업로드 개수 코드 수정

This commit is contained in:
chicpro
2016-05-04 10:42:59 +09:00
parent e5889df761
commit 8c67945c64
9 changed files with 10 additions and 10 deletions

View File

@ -304,7 +304,6 @@ $secret_checked = "";
if ($w == '') {
$password_required = 'required';
$file = array('count'=>$file_count);
} else if ($w == 'u') {
$password_required = '';
@ -338,6 +337,8 @@ if ($w == '') {
}
$file = get_file($bo_table, $wr_id);
if($file_count < $file['count'])
$file_count = $file['count'];
} else if ($w == 'r') {
if (strstr($write['wr_option'], 'secret')) {
$is_secret = true;
@ -349,7 +350,6 @@ if ($w == '') {
for ($i=1; $i<=G5_LINK_COUNT; $i++) {
$write['wr_link'.$i] = get_text($write['wr_link'.$i]);
}
$file = array('count'=>$file_count);
}
set_session('ss_bo_table', $_REQUEST['bo_table']);