summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHorus32014-12-04 13:25:32 +0100
committerHorus32014-12-04 13:25:32 +0100
commit63c3261aa80cb4406bc0506bb26202e13ddc8c92 (patch)
tree3583d471039592b92639ed1e025045e2441ca7dd
parent9d9d9b2ad320ffb9a4172f9510f82fe32585594b (diff)
downloadtools.iamfabulous.de-testing.tar.gz
local branch for testing anonymous uploadstesting
-rw-r--r--.gitignore1
-rw-r--r--tools/config.php3
-rw-r--r--tools/navbar.php6
-rw-r--r--uploaded/index.php3
4 files changed, 11 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index b8ce7ca..b68ca2d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
*.swp
*.db
staging/
+uploaded/server/php/files/
diff --git a/tools/config.php b/tools/config.php
index eb4b329..a792b27 100644
--- a/tools/config.php
+++ b/tools/config.php
@@ -6,7 +6,8 @@ if ( isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] != "")
$_scheme = "https://";
if ( ! defined("__domain_") )
- define("__domain_", $_scheme."tools.iamfabulous.de");
+ # define("__domain_", $_scheme."tools.iamfabulous.de");
+ define("__domain_", $_scheme."tools.local");
if ( ! defined("REDIS_CONNECT") )
define("REDIS_CONNECT", "/var/run/redis/redis.sock");
diff --git a/tools/navbar.php b/tools/navbar.php
index d0b9108..2a22614 100644
--- a/tools/navbar.php
+++ b/tools/navbar.php
@@ -17,7 +17,11 @@
<a href="<?php echo __domain_; ?>/header/" title="Check HTTP header online!"><span class="glyphicon glyphicon-globe"></span> Header</a>
</li>
<li id="ifconfig">
- <a href="<?php echo __domain_; ?>/ifconfig/" title="Simple IP API"><span class="glyphicon glyphicon-transfer"></span> ifconfig</a>
+ <a href="<?php echo __domain_; ?>/ifconfig/" title="Simple IP API"><span class="glyphicon glyphicon-transfer"></span> Ifconfig</a>
+ </li>
+ <li id="uploaded">
+ <!--a href="<?php echo __domain_; ?>/uploaded/" title="Quick anonymous file upload"><span class="glyphicon glyphicon-cloud-upload"></span> uploaded</a-->
+ <a href="<?php echo __domain_; ?>/uploaded/" title="Quick anonymous file upload"><span class="fa fa-upload"></span> Uploaded</a>
</li>
</ul>
</div>
diff --git a/uploaded/index.php b/uploaded/index.php
index 926c96d..86b8112 100644
--- a/uploaded/index.php
+++ b/uploaded/index.php
@@ -22,6 +22,9 @@
<div class="text-center">
<div class="row">
+ <h1>Quick anonymous file upload</h1>
+ <h4>Files are stored for two months. Checkout the help page for help and terms of use.</h4>
+ <br>
<?php require 'view/upload.html'; ?>
<?php require 'view/templ-upload.html'; ?>
<?php require 'view/templ-download.html'; ?>