From 315cbb941b2d0a3179f11e60cfdd6663d5c22daf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=A4=80=ED=9D=A0?= Date: Tue, 8 Aug 2023 10:51:00 +0900 Subject: [PATCH] shoppingmallv2 init... --- app/Entities/BaseEntity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Entities/BaseEntity.php b/app/Entities/BaseEntity.php index 9dc58ce..6243d40 100644 --- a/app/Entities/BaseEntity.php +++ b/app/Entities/BaseEntity.php @@ -24,7 +24,7 @@ abstract class BaseEntity extends Entity } $files = explode(DEFAULTS['DELIMITER_FILE'], $this->attributes[$field]); return anchor( - current_url() . "download/{$field}/{$this->getPrimaryKey()}", + current_url() . "/download/{$field}/{$this->getPrimaryKey()}", ICONS['IMAGE_FILE'] . $files[0], ["target" => "_self"] );