전콘 용량을 30KB로 증가

This commit is contained in:
2018-08-10 19:58:31 +09:00
parent a08d270968
commit 8f406489d4
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -48,9 +48,9 @@ if(!is_uploaded_file($image['tmp_name'])) {
//확장자 검사
$response['reason'] = 'jpg, gif, png 파일이 아닙니다!';
$response['result'] = false;
} elseif($image['size'] > 20480) {
} elseif($image['size'] > 30720) {
//파일크기 검사
$response['reason'] = '20kb 이하로 올려주세요!';
$response['reason'] = '30kb 이하로 올려주세요!';
$response['result'] = false;
} elseif($size[0] < 64 || 128 < $size[0]) {
//이미지크기 검사