switching output compression off, as it makes problems with synthesis client

This commit is contained in:
Ralf Becker 2009-12-03 07:16:11 +00:00
parent d21599f47f
commit 908b729c7f

View File

@ -59,6 +59,8 @@ if (!empty($_SERVER['CONTENT_TYPE'])) {
if (strpos($_SERVER['CONTENT_TYPE'], 'application/vnd.syncml+xml') !== false) {
$serverType = 'syncml';
} elseif (strpos($_SERVER['CONTENT_TYPE'], 'application/vnd.syncml+wbxml') !== false) {
// switching output compression off, as it makes problems with synthesis client
ini_set('zlib.output_compression',0);
$serverType = 'syncml_wbxml';
} elseif (strpos($_SERVER['CONTENT_TYPE'], 'text/xml') !== false) {
$input = Horde_RPC::getInput();