uguu/upload-done.php

19 lines
574 B
PHP
Raw Normal View History

2015-10-08 00:29:01 +02:00
<?php
2016-05-14 10:55:50 +02:00
require_once "rain/rain.tpl.class.php";
2015-10-08 00:29:01 +02:00
raintpl::configure( 'path_replace', false);
2016-05-14 10:55:50 +02:00
raintpl::configure( 'tpl_dir', 'rain/template/');
raintpl::configure( 'cache_dir', 'rain/cache/' );
2015-10-08 00:29:01 +02:00
$tpl = new RainTPL;
$title = "Temp File Hosting";
$tpl->assign("title", $title);
$tpl->draw("header");
2016-05-14 22:32:12 +02:00
if(CONFIG_SUBUPLOAD_URL_ENABLED == 'true'){
$tpl->assign("url_filename", CONFIG_SUBUPLOAD_URL.'/'.$n);
}else{
$tpl->assign("url_filename", CONFIG_ROOT_URL.'/'.$n);
2016-05-14 22:32:12 +02:00
}
2016-05-14 11:47:48 +02:00
$tpl->assign("retention_time", CONFIG_MAX_RETENTION_TEXT);
2015-10-08 00:29:01 +02:00
$tpl->draw("upload-done");
$tpl->draw("footer");
?>