shoppingmallv2 init...
This commit is contained in:
parent
dcbdfa6d4e
commit
315cbb941b
@ -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(
|
||||||
current_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