diff options
author | thomascube <thomas@roundcube.net> | 2006-05-05 17:09:12 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2006-05-05 17:09:12 +0000 |
commit | 8f4834d87338d0647d30ecfca0cfc871443d6604 (patch) | |
tree | c908c902165f81f361fc000b26e6273897f402b5 | |
parent | 6eeb17d833f724a9324e5efe107fa7129f8fb13c (diff) |
Check for zlib.output_compression before using ob_gzhandler
-rw-r--r-- | index.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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'); |