Remove info page
This commit is contained in:
parent
47e93a3b2f
commit
7a10871dfe
|
@ -11,20 +11,13 @@ raintpl::configure( 'cache_dir', 'rain/cache/' );
|
||||||
$tpl = new RainTPL;
|
$tpl = new RainTPL;
|
||||||
|
|
||||||
$title = "Temp File Hosting";
|
$title = "Temp File Hosting";
|
||||||
if(isset($_GET['info']))
|
|
||||||
$title = "Info";
|
|
||||||
|
|
||||||
$tpl->assign("title", $title);
|
$tpl->assign("title", $title);
|
||||||
$tpl->assign("site_name", CONFIG_SITE_NAME);
|
$tpl->assign("site_name", CONFIG_SITE_NAME);
|
||||||
$tpl->draw("header");
|
$tpl->draw("header");
|
||||||
|
|
||||||
$tpl->assign("retention_time", CONFIG_MAX_RETENTION_TEXT);
|
$tpl->assign("retention_time", CONFIG_MAX_RETENTION_TEXT);
|
||||||
if(isset($_GET['info'])) {
|
$tpl->draw("upload");
|
||||||
$tpl->assign("url_filename", CONFIG_ROOT_URL);
|
|
||||||
$tpl->draw("info");
|
|
||||||
} else {
|
|
||||||
$tpl->draw("upload");
|
|
||||||
}
|
|
||||||
|
|
||||||
$tpl->draw("footer");
|
$tpl->draw("footer");
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -1,20 +0,0 @@
|
||||||
<div class="container">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col s12">
|
|
||||||
<div class="card-panel blue-grey darken-1">
|
|
||||||
<div class="card-content white-text">
|
|
||||||
<span class="card-title">Info</span>
|
|
||||||
<p>Store (*almost) any filetype with a size up to 100MB for up to 24 hours.
|
|
||||||
Uguu cares about your privacy and stores NO logs.</p>
|
|
||||||
<p>*Due to malicious files being uploaded the following filetypes are not allowed: exe, scr, rar, zip, com, vbs, bat, cmd, html, htm, msi, dll.</p>
|
|
||||||
<span class="card-title">Tools</span>
|
|
||||||
<p>ShareX: <a href="https://getsharex.com">https://getsharex.com</a></p>
|
|
||||||
<span class="card-title">API</span>
|
|
||||||
<p>To upload using curl or make a tool you can post using:<br />
|
|
||||||
<code>curl -i -F name=test.jpg -F file=@localfile.jpg {$url_filename}/api.php?d=upload</code> (HTML Response)<br />
|
|
||||||
<code>curl -i -F name=test.jpg -F file=@localfile.jpg {$url_filename}/api.php?d=upload-tool</code> (Plain text Response)</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
Loading…
Reference in New Issue