"dont switch on output_buffering (ob_start) for groupdav too, as we cant switch it off saveling and PROPFIND can get really big"

This commit is contained in:
Ralf Becker 2009-10-16 07:57:09 +00:00
parent e0a9ae63cf
commit f7f902fcf1

View File

@ -96,7 +96,7 @@ $GLOBALS['egw_info']['server']['versions']['header'] = '1.29';
if(!isset($GLOBALS['egw_info']['flags']['noapi']) || !$GLOBALS['egw_info']['flags']['noapi']) if(!isset($GLOBALS['egw_info']['flags']['noapi']) || !$GLOBALS['egw_info']['flags']['noapi'])
{ {
if (substr($_SERVER['SCRIPT_NAME'],-10) != 'webdav.php') // dont do it for webdav, as we can not savely switch it off again if (substr($_SERVER['SCRIPT_NAME'],-7) != 'dav.php') // dont do it for webdav/groupdav, as we can not savely switch it off again
{ {
ob_start(); // to prevent error messages to be send before our headers ob_start(); // to prevent error messages to be send before our headers
} }