1
0
mirror of https://github.com/Rouji/single_php_filehost.git synced 2025-04-04 16:39:34 +00:00

use DOWNLOAD_PATH again

recent PR replaced it with a hard-coded %s for no good reason
This commit is contained in:
Rouji 2021-08-29 21:53:47 +02:00
parent 57e7385ddf
commit 3b8a6457c5

View File

@ -183,7 +183,7 @@ function store_file($name, $tmpfile, $formatted = false)
} }
//print the download link of the file //print the download link of the file
$url = sprintf($SITE_URL.'%s', $basename); $url = sprintf($SITE_URL.$DOWNLOAD_PATH, $basename);
if ($formatted) if ($formatted)
{ {