From dcbdfa6d4e2aaea47e6f1212472a291b0978cc0b 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:50:36 +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 7dfbf5b..9dc58ce 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( - base_url() . "/download/{$field}/{$this->getPrimaryKey()}", + current_url() . "download/{$field}/{$this->getPrimaryKey()}", ICONS['IMAGE_FILE'] . $files[0], ["target" => "_self"] );