mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
backported r27314: not switching on output buffering for WebDAV, to make downloads for files > memory_limit possible (requires to rebuild the header via setup >> header admin)
This commit is contained in:
parent
53b5e86323
commit
ef9cc92be5
@ -96,7 +96,10 @@ $GLOBALS['egw_info']['server']['versions']['header'] = '1.29';
|
||||
|
||||
if(!isset($GLOBALS['egw_info']['flags']['noapi']) || !$GLOBALS['egw_info']['flags']['noapi'])
|
||||
{
|
||||
ob_start(); // to prevent error messages to be send before our headers
|
||||
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