uguu/index.php

24 líneas
516 B
PHP

<?php
//Loading configuration file
require_once "includes/config.php";
require_once "rain/rain.tpl.class.php";
raintpl::configure( 'path_replace', false);
raintpl::configure( 'tpl_dir', 'rain/template/');
raintpl::configure( 'cache_dir', 'rain/cache/' );
$tpl = new RainTPL;
$title = "Temp File Hosting";
$tpl->assign("title", $title);
$tpl->assign("site_name", CONFIG_SITE_NAME);
$tpl->draw("header");
$tpl->assign("retention_time", CONFIG_MAX_RETENTION_TEXT);
$tpl->draw("upload");
$tpl->draw("footer");
?>