Automation init...3

This commit is contained in:
최준흠 2024-09-11 15:58:14 +09:00
parent d6b6e71661
commit 6ed4598726

View File

@ -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()
));