From a2129e49ae4dacb6f73ffe03f9e02c30234c5383 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=A4=80=ED=9D=A0?= Date: Tue, 24 Sep 2024 17:17:22 +0900 Subject: [PATCH] Automation init...4 --- app/Libraries/MyMangboard/Storage.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/Libraries/MyMangboard/Storage.php b/app/Libraries/MyMangboard/Storage.php index 74d5c17..2136138 100644 --- a/app/Libraries/MyMangboard/Storage.php +++ b/app/Libraries/MyMangboard/Storage.php @@ -120,9 +120,7 @@ class Storage extends FileStorage private function create_small_image(BoardEntity $board_entity, $target_name = "small", int $width = 480, int $height = 319): void { - $fileInfo = pathinfo($this->getFullPath() . DIRECTORY_SEPARATOR . $this->getOriginName(), PATHINFO_ALL); - var_dump($fileInfo); - exit; + $fileInfo = pathinfo($this->getFullPath() . DIRECTORY_SEPARATOR . $this->getOriginName(), PATHINFO_ALL); $target_file_name = sprintf("%s_%s.%s", $fileInfo['filename'], $target_name, $fileInfo['extension']); if (!$this->isFileType_FileTrait($fileInfo['extension'])) { throw new \Exception("{$this->getOriginName()} Image 형식파일이 아닙니다.");