forked from gitbot/uguu
0591f08bbf
If a user tries to upload without a file selected, the user is redirected to an error page instead of "You fucked up".
18 lines
344 B
PHP
18 lines
344 B
PHP
<?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->draw("header");
|
|
$tpl->draw("error");
|
|
|
|
|
|
$tpl->draw("footer");
|
|
?>
|