dont switch on output buffering for log-tailer

This commit is contained in:
Ralf Becker 2012-03-06 13:16:33 +00:00
parent 261f807c46
commit 328623bc9c

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'],-7) != 'dav.php') // dont do it for webdav/groupdav, as we can not safely switch it off again
if (substr($_SERVER['SCRIPT_NAME'],-7) != 'dav.php' && substr($_GET['menuaction'],-10) != '_hooks.log') // dont do it for webdav/groupdav, as we can not safely switch it off again
{
ob_start(); // to prevent error messages to be send before our headers
}