shoppingmallv2 init...

This commit is contained in:
최준흠 2023-08-08 10:50:36 +09:00
parent 56f169f73a
commit dcbdfa6d4e

View File

@ -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"]
);