diff --git a/index.php b/index.php index 3451cfb..bf0cf9b 100644 --- a/index.php +++ b/index.php @@ -11,20 +11,13 @@ raintpl::configure( 'cache_dir', 'rain/cache/' ); $tpl = new RainTPL; $title = "Temp File Hosting"; -if(isset($_GET['info'])) - $title = "Info"; $tpl->assign("title", $title); $tpl->assign("site_name", CONFIG_SITE_NAME); $tpl->draw("header"); $tpl->assign("retention_time", CONFIG_MAX_RETENTION_TEXT); -if(isset($_GET['info'])) { - $tpl->assign("url_filename", CONFIG_ROOT_URL); - $tpl->draw("info"); -} else { - $tpl->draw("upload"); -} +$tpl->draw("upload"); $tpl->draw("footer"); ?> diff --git a/rain/template/info.html b/rain/template/info.html deleted file mode 100644 index ee1d480..0000000 --- a/rain/template/info.html +++ /dev/null @@ -1,20 +0,0 @@ -
-
-
-
-
- Info -

Store (*almost) any filetype with a size up to 100MB for up to 24 hours. - Uguu cares about your privacy and stores NO logs.

-

*Due to malicious files being uploaded the following filetypes are not allowed: exe, scr, rar, zip, com, vbs, bat, cmd, html, htm, msi, dll.

- Tools -

ShareX: https://getsharex.com

- API -

To upload using curl or make a tool you can post using:
- curl -i -F name=test.jpg -F file=@localfile.jpg {$url_filename}/api.php?d=upload (HTML Response)
- curl -i -F name=test.jpg -F file=@localfile.jpg {$url_filename}/api.php?d=upload-tool (Plain text Response)

-
-
-
-
-