summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md2
-rw-r--r--static/upload.php1
2 files changed, 3 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8cdc436..8c41b14 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -31,6 +31,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
`json_success`, `text_error` and `text_success` functions. The functions will
be renamed to `camelCase` format (e.g. `csvError`, `htmlSuccess`). (Juuso
Lapinlampi)
+- Output buffering (`ob_start`). This feature may be removed in the next
+ major version. (Juuso Lapinlampi)
### Fixed
diff --git a/static/upload.php b/static/upload.php
index 8b0646c..ebedeab 100644
--- a/static/upload.php
+++ b/static/upload.php
@@ -30,6 +30,7 @@
*/
// 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) {