From 3459c717d4c70b197cce00da49984b1482de8f18 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 19 Jan 2014 14:21:26 -0800 Subject: don't allow the demo upload server to operate - otherwise one could find themselves with a bunch of unwanted uploads --- library/jqupload/server/php/index.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'library/jqupload/server/php') 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(); -- cgit v1.2.3