summaryrefslogtreecommitdiff
path: root/static/php/upload.php
diff options
context:
space:
mode:
Diffstat (limited to 'static/php/upload.php')
-rw-r--r--static/php/upload.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/static/php/upload.php b/static/php/upload.php
index c8082e6..476120b 100644
--- a/static/php/upload.php
+++ b/static/php/upload.php
@@ -5,14 +5,6 @@
* uploaded metadata to database.
*/
-// Check if we can compress our output; if we can, we'll do it
-// This feature is deprecated since version 2.1.0.
-if (ini_get('zlib.output_compression') !== 'Off'
- && isset($_SERVER['HTTP_ACCEPT_ENCODING'])
- && strpos($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip') !== false) {
- ob_start('ob_gzhandler');
-}
-
require_once 'classes/Response.class.php';
require_once 'classes/UploadException.class.php';
require_once 'classes/UploadedFile.class.php';