p0wer

[SmartEditor 2] smarteditor2 bmp확장자 업로드 오류 "accept_file_types"

· 2024-11-19 (화) 10:11:22 · 3447 · 4

html/plugin/editor/smarteditor2/photo_uploader/popup/php/UploadHandler.php
ㄴ 24 , reprocessImage, 오류명 ”accept_file_types” 3가지 확인 결과

24번째줄

	// imagecreatefrombmp, imagebmp bmp 부분 key, value값에 오타 있었음( 기존 - array("imagecreatefromwbmp", "imagewbmp"))
    private static $MIME_TYPES_PROCESSORS = array(
        "image/gif"       => array("imagecreatefromgif", "imagegif"),
        "image/jpg"       => array("imagecreatefromjpeg", "imagejpeg"),
        "image/jpeg"      => array("imagecreatefromjpeg", "imagejpeg"),
        "image/png"       => array("imagecreatefrompng", "imagepng"),
        "image/bmp"       => array("imagecreatefrombmp", "imagebmp")
   );

wbmp -> bmp
위와 같이 수정 시 bmp파일 정상 업로드 가능

|

댓글 4개

이런 불상사가 있었네요. 버그 보고 하세요.

2024-11-20 (수) 07:52:39

감사합니다 ^^

2024-11-26 (화) 00:10:06

감사합니다 ^^

감사합니다 

댓글을 작성하시려면 로그인이 필요합니다.

그누보드5 팁자료실

2,788건
+
제목 글쓴이 날짜 조회
24-12-28 조회 3,738
24-12-26 조회 4,340
24-12-25 조회 3,685
24-12-24 조회 4,219
24-12-24 조회 3,478
24-12-19 조회 3,958
24-12-17 조회 3,754
24-12-17 조회 3,576
24-12-16 조회 3,550
24-12-14 조회 4,192
24-12-14 조회 3,948
24-12-12 조회 3,995
24-12-10 조회 3,741
24-12-03 조회 4,109
24-12-01 조회 3,703
24-11-30 조회 3,814
24-11-29 조회 5,262
24-11-28 조회 3,640
24-11-25 조회 3,446
24-11-22 조회 3,495
24-11-20 조회 3,850
24-11-19 조회 3,448
24-11-16 조회 4,015
24-11-13 조회 3,514
24-11-11 조회 3,967
24-11-09 조회 3,774
24-11-04 조회 4,420
24-11-02 조회 3,807
24-10-28 조회 4,147
24-10-24 조회 4,262