1
0
mirror of https://github.com/nokonoko/Uguu.git synced 2024-01-06 13:35:15 +00:00

fix upload path

This commit is contained in:
Henrik 2018-08-09 08:10:59 +02:00 committed by GitHub
parent d97e00af66
commit e76971212d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ $tpl->draw("header");
if(CONFIG_SUBUPLOAD_URL_ENABLED == 'true'){
$tpl->assign("url_filename", CONFIG_SUBUPLOAD_URL.'/'.$n);
}else{
$tpl->assign("url_filename", CONFIG_ROOT_URL.'/files/'.$n);
$tpl->assign("url_filename", CONFIG_ROOT_URL.'/public/files/'.$n);
}
$tpl->assign("retention_time", CONFIG_MAX_RETENTION_TEXT);
$tpl->draw("upload-done");