shoppingmallv2 init...
This commit is contained in:
parent
56f169f73a
commit
dcbdfa6d4e
@ -24,7 +24,7 @@ abstract class BaseEntity extends Entity
|
|||||||
}
|
}
|
||||||
$files = explode(DEFAULTS['DELIMITER_FILE'], $this->attributes[$field]);
|
$files = explode(DEFAULTS['DELIMITER_FILE'], $this->attributes[$field]);
|
||||||
return anchor(
|
return anchor(
|
||||||
base_url() . "/download/{$field}/{$this->getPrimaryKey()}",
|
current_url() . "download/{$field}/{$this->getPrimaryKey()}",
|
||||||
ICONS['IMAGE_FILE'] . $files[0],
|
ICONS['IMAGE_FILE'] . $files[0],
|
||||||
["target" => "_self"]
|
["target" => "_self"]
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user