aboutsummaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-19 14:21:26 -0800
committerfriendica <info@friendica.com>2014-01-19 14:21:26 -0800
commit3459c717d4c70b197cce00da49984b1482de8f18 (patch)
treed28bfd19c425b39ae65de5286b5c7a14b955843f /library
parentf3a7bf913f3bb03c1601b105271daf77df4e3bbb (diff)
downloadvolse-hubzilla-3459c717d4c70b197cce00da49984b1482de8f18.tar.gz
volse-hubzilla-3459c717d4c70b197cce00da49984b1482de8f18.tar.bz2
volse-hubzilla-3459c717d4c70b197cce00da49984b1482de8f18.zip
don't allow the demo upload server to operate - otherwise one could find themselves with a bunch of unwanted uploads
Diffstat (limited to 'library')
-rw-r--r--library/jqupload/server/php/index.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/library/jqupload/server/php/index.php b/library/jqupload/server/php/index.php
index 3ae1295ef..be29bf479 100644
--- a/library/jqupload/server/php/index.php
+++ b/library/jqupload/server/php/index.php
@@ -10,6 +10,10 @@
* http://www.opensource.org/licenses/MIT
*/
+// Don't allow files to be stored from the demo server
+
+exit;
+
error_reporting(E_ALL | E_STRICT);
require('UploadHandler.php');
$upload_handler = new UploadHandler();