fixed $infolog is no array

This commit is contained in:
Ralf Becker 2011-09-29 10:53:33 +00:00
parent 4889fd91b8
commit b874dd0aaa

View File

@ -94,4 +94,4 @@ if (strstr($user_agent, 'microsoft-webdav') !== false ||
$webdav_server->cnrnd = true; $webdav_server->cnrnd = true;
} }
$webdav_server->ServeRequest(); $webdav_server->ServeRequest();
//error_log(sprintf('WebDAV %s request: status "%s", took %5.3f s'.($headertime?' (header include took %5.3f s)':''),$_SERVER['REQUEST_METHOD'].' '.$_SERVER['PATH_INFO'],$webdav_server->_http_status,microtime(true)-$starttime,$headertime-$starttime)); error_log(sprintf('WebDAV %s request: status "%s", took %5.3f s'.($headertime?' (header include took %5.3f s)':''),$_SERVER['REQUEST_METHOD'].' '.$_SERVER['PATH_INFO'],$webdav_server->_http_status,microtime(true)-$starttime,$headertime-$starttime));