]> jfr.im git - uguu.git/blobdiff - upload-done.php
very big imrovemtn
[uguu.git] / upload-done.php
index 3447c62b5de4d055253da726eea172f04f7473cc..9e734bb28c471b9b95371d5c6ef3f0024152a3d7 100644 (file)
@@ -7,7 +7,12 @@ $tpl = new RainTPL;
 $title = "Temp File Hosting";
 $tpl->assign("title", $title);
 $tpl->draw("header");
-$tpl->assign("url_filename", CONFIG_ROOT_URL.'/files/'.$n);
+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("retention_time", CONFIG_MAX_RETENTION_TEXT);
 $tpl->draw("upload-done");
 $tpl->draw("footer");
 ?>