]> jfr.im git - uguu.git/blame - upload-done.php
Update check.sh
[uguu.git] / upload-done.php
CommitLineData
58dfa1f7 1<?php
2f98035a 2require_once "rain/rain.tpl.class.php";
58dfa1f7 3raintpl::configure( 'path_replace', false);
2f98035a
PAB
4raintpl::configure( 'tpl_dir', 'rain/template/');
5raintpl::configure( 'cache_dir', 'rain/cache/' );
58dfa1f7
GJ
6$tpl = new RainTPL;
7$title = "Temp File Hosting";
8$tpl->assign("title", $title);
9$tpl->draw("header");
c626efb4
GJ
10if(CONFIG_SUBUPLOAD_URL_ENABLED == 'true'){
11 $tpl->assign("url_filename", CONFIG_SUBUPLOAD_URL.'/'.$n);
12}else{
13 $tpl->assign("url_filename", CONFIG_ROOT_URL.'/files/'.$n);
14}
8f66c23e 15$tpl->assign("retention_time", CONFIG_MAX_RETENTION_TEXT);
58dfa1f7
GJ
16$tpl->draw("upload-done");
17$tpl->draw("footer");
18?>