Added gzip compression support

release-0.6
thomascube 18 years ago
parent bc8dc6573e
commit c1ba9587b5

@ -42,7 +42,6 @@
define('RCMAIL_VERSION', '0.1-20060402');
// define global vars
$CHARSET = 'UTF-8';
$OUTPUT_TYPE = 'html';
@ -82,6 +81,10 @@ require_once('PEAR.php');
// set PEAR error handling
// PEAR::setErrorHandling(PEAR_ERROR_TRIGGER, E_USER_NOTICE);
// use gzip compression if supported
if (function_exists('ob_gzhandler'))
ob_start('ob_gzhandler');
// catch some url/post parameters
$_auth = get_input_value('_auth', RCUBE_INPUT_GPC);

Loading…
Cancel
Save