|
From: <car...@us...> - 2025-02-14 07:58:36
|
Revision: 11107
http://sourceforge.net/p/phpwiki/code/11107
Author: carstenklapp
Date: 2025-02-14 07:58:34 +0000 (Fri, 14 Feb 2025)
Log Message:
-----------
don't compress output when debug is on to avoid garbage on page
Modified Paths:
--------------
trunk/lib/Request.php
Modified: trunk/lib/Request.php
===================================================================
--- trunk/lib/Request.php 2025-02-14 07:44:03 UTC (rev 11106)
+++ trunk/lib/Request.php 2025-02-14 07:58:34 UTC (rev 11107)
@@ -370,6 +370,10 @@
if ($this->getArg('nocache')) {
$compress = false;
}
+ // Don't compress page when DEBUG is on because of custom errorhandlers
+ if (defined('DEBUG') and DEBUG) {
+ $compress = false;
+ }
// Should we compress even when apache_note is not available?
// sf.net bug #933183 and http://bugs.php.net/17557
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|