"switch of output buffering (switched on in header), as otherwise we run against memory_limit, for big files

only do it if no output_handler is set in php.ini, as at least with zlib.output_handler it stalls ...
if (!ini_get('output_handler')) ob_end_flush();
"
This commit is contained in:
Ralf Becker 2009-06-25 07:25:51 +00:00
parent 2fc7222f68
commit 9fabbf434a

View File

@ -73,7 +73,8 @@ include(dirname(__FILE__).'/header.inc.php');
$headertime = microtime(true);
// switch of output buffering (switched on in header), as otherwise we run against memory_limit, for big files
ob_end_flush();
// only do it if no output_handler is set in php.ini, as at least with zlib.output_handler it stalls ...
if (!ini_get('output_handler')) ob_end_flush();
$webdav_server = new vfs_webdav_server();
$webdav_server->ServeRequest();