Don't make uploaded files go in a subdirectory

This commit is contained in:
Les De Ridder 2017-01-24 13:28:12 +01:00
parent 191e65ca72
commit b88ec48183
No known key found for this signature in database
GPG Key ID: 5EC132DFA85DB372
1 changed files with 1 additions and 1 deletions

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.'/'.$n);
}
$tpl->assign("retention_time", CONFIG_MAX_RETENTION_TEXT);
$tpl->draw("upload-done");