Don't make uploaded files go in a subdirectory
This commit is contained in:
parent
191e65ca72
commit
b88ec48183
|
@ -10,7 +10,7 @@ $tpl->draw("header");
|
||||||
if(CONFIG_SUBUPLOAD_URL_ENABLED == 'true'){
|
if(CONFIG_SUBUPLOAD_URL_ENABLED == 'true'){
|
||||||
$tpl->assign("url_filename", CONFIG_SUBUPLOAD_URL.'/'.$n);
|
$tpl->assign("url_filename", CONFIG_SUBUPLOAD_URL.'/'.$n);
|
||||||
}else{
|
}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->assign("retention_time", CONFIG_MAX_RETENTION_TEXT);
|
||||||
$tpl->draw("upload-done");
|
$tpl->draw("upload-done");
|
||||||
|
|
Loading…
Reference in New Issue