diff options
Diffstat (limited to 'public/index.php')
| -rw-r--r-- | public/index.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/public/index.php b/public/index.php index a55199c..47ae798 100644 --- a/public/index.php +++ b/public/index.php @@ -249,7 +249,8 @@ $privacy_exists = is_file($_SERVER['DOCUMENT_ROOT'] . '/static/PRIVACY.txt'); <a href="<?= $file['full_url'] ?>"> <button>Full size</button> </a> - <a href="<?= $file['full_url'] ?>" download="<?= $file['name'] ?>"> + <a href="<?= $file['full_url'] ?>" + download="<?= sprintf('%s.%s', $file['name'], $file['extension']) ?>"> <button>Download</button> </a> </div> |
