2 require_once "rain/rain.tpl.class.php";
3 raintpl
::configure( 'path_replace', false);
4 raintpl
::configure( 'tpl_dir', 'rain/template/');
5 raintpl
::configure( 'cache_dir', 'rain/cache/' );
7 $title = "Temp File Hosting";
8 $tpl->assign("title", $title);
10 if(CONFIG_SUBUPLOAD_URL_ENABLED
== 'true'){
11 $tpl->assign("url_filename", CONFIG_SUBUPLOAD_URL
.'/'.$n);
13 $tpl->assign("url_filename", CONFIG_ROOT_URL
.'/files/'.$n);
15 $tpl->assign("retention_time", CONFIG_MAX_RETENTION_TEXT
);
16 $tpl->draw("upload-done");