don't allow the demo upload server to operate - otherwise one could find themselves with a bunch of unwanted uploads

This commit is contained in:
friendica 2014-01-19 14:21:26 -08:00
parent f3a7bf913f
commit 3459c717d4

View File

@ -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();