mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 19:03: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
@ -95,8 +95,11 @@ unset($setup_info);
|
|||||||
$GLOBALS['egw_info']['server']['versions']['header'] = '1.29';
|
$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
|
||||||
{
|
{
|
||||||
ob_start(); // to prevent error messages to be send before our headers
|
ob_start(); // to prevent error messages to be send before our headers
|
||||||
|
}
|
||||||
require_once(EGW_API_INC . '/functions.inc.php');
|
require_once(EGW_API_INC . '/functions.inc.php');
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user