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:
parent
57e7385ddf
commit
3b8a6457c5
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user