diff --git a/app/Libraries/MyStorage/Mangboard/FileLibrary.php b/app/Libraries/MyStorage/Mangboard/FileLibrary.php index 2b9b8be..daf91a5 100644 --- a/app/Libraries/MyStorage/Mangboard/FileLibrary.php +++ b/app/Libraries/MyStorage/Mangboard/FileLibrary.php @@ -104,16 +104,14 @@ class FileLibrary extends MyStorageLibrary // if ($result) { // //작은이미지 생성후 목적지 Path와 파일명을 다시 file_path에 넣는다. URL이 되기때문에 /로 넣어야함 // $entity->setPath(sprintf( - // "/%s/%s/%s", - // $this->getUploadPath(), + // "%s/%s", // $entity->getPath(), // $image->getDestinationFile() // )); // } else { // //원본이미지 생성후 목적지 Path와 파일명을 다시 file_path에 넣는다. URL이 되기때문에 /로 넣어야함 // $entity->setPath(sprintf( - // "/%s/%s/%s", - // $this->getUploadPath(), + // "%s/%s", // $entity->getPath(), // $entity->getTitle() // )); @@ -124,8 +122,7 @@ class FileLibrary extends MyStorageLibrary //mb_files에서 file_path가 망보드 게시판 파일관리에서 image로 표시되어 file_path+file_name로 설정 //원본이미지 생성후 목적지 Path와 파일명을 다시 file_path에 넣는다. URL이 되기때문에 /로 넣어야함 $entity->setPath(sprintf( - "/%s/%s/%s", - $this->getUploadPath(), + "%s/%s", $entity->getPath(), $entity->getTitle() ));