From 3b8a6457c554f17e6838d2965226bb9dd70ccb51 Mon Sep 17 00:00:00 2001 From: Rouji Date: Sun, 29 Aug 2021 21:53:47 +0200 Subject: [PATCH] use DOWNLOAD_PATH again recent PR replaced it with a hard-coded %s for no good reason --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 7cf0005..c94464c 100755 --- a/index.php +++ b/index.php @@ -183,7 +183,7 @@ function store_file($name, $tmpfile, $formatted = false) } //print the download link of the file - $url = sprintf($SITE_URL.'%s', $basename); + $url = sprintf($SITE_URL.$DOWNLOAD_PATH, $basename); if ($formatted) {