"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:58:12 +00:00
parent de766ba416
commit d6467f4518

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 (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
}