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

This commit is contained in:
Ralf Becker 2009-06-18 11:01:06 +00:00
parent 38de60f8dc
commit 68ba51f8d8

View File

@ -72,6 +72,9 @@ 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();
$webdav_server = new vfs_webdav_server();
$webdav_server->ServeRequest();
//error_log(sprintf("WebDAV %s request took %5.3f s (header include took %5.3f s)",$_SERVER['REQUEST_METHOD'],microtime(true)-$starttime,$headertime-$starttime));