summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-05-05 17:09:12 +0000
committerroundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-05-05 17:09:12 +0000
commit83f6b8eed5820beb6d22f9426e8f77160fe02463 (patch)
tree041e37aabf722b1accd948162ca0664b6530f990
parent74dd1f3e2e71ef3c07424052eb6523c6f7c0bf3b (diff)
Check for zlib.output_compression before using ob_gzhandler
git-svn-id: https://svn.roundcube.net/trunk@223 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/roundcubemail/index.php b/roundcubemail/index.php
index b82d19ca2..eb455035f 100644
--- a/roundcubemail/index.php
+++ b/roundcubemail/index.php
@@ -2,7 +2,7 @@
/*
+-----------------------------------------------------------------------+
| RoundCube Webmail IMAP Client |
- | Version 0.1-20060501 |
+ | Version 0.1-20060505 |
| |
| Copyright (C) 2005, RoundCube Dev. - Switzerland |
| Licensed under the GNU GPL |
@@ -40,7 +40,7 @@
*/
-define('RCMAIL_VERSION', '0.1-20060501');
+define('RCMAIL_VERSION', '0.1-20060505');
// define global vars
$CHARSET = 'UTF-8';
@@ -82,7 +82,7 @@ require_once('PEAR.php');
// PEAR::setErrorHandling(PEAR_ERROR_TRIGGER, E_USER_NOTICE);
// use gzip compression if supported
-if (function_exists('ob_gzhandler'))
+if (function_exists('ob_gzhandler') && !ini_get('zlib.output_compression'))
ob_start('ob_gzhandler');