forked from extern/egroupware
"reverting my inition comit to switch output buffering off in webdav.php, as it makes problems on system with do automatic output compression, eg. debian5
--> modified header template to not switch it on in first place, for webdav.php"
This commit is contained in:
parent
90fa0dc0e2
commit
05fadb2049
@ -96,7 +96,10 @@ $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
|
||||
{
|
||||
ob_start(); // to prevent error messages to be send before our headers
|
||||
}
|
||||
require_once(EGW_API_INC . '/functions.inc.php');
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user