webdav: fix getDir file attributes

This commit is contained in:
Thibaut GRIDEL 2010-05-20 00:41:25 +02:00
parent b2fa63bdcc
commit 65ce487327
1 changed files with 2 additions and 2 deletions

View File

@ -290,8 +290,8 @@
$fullpath = $fspath."/".$filename;
$name = htmlspecialchars($filename);
printf($format,
number_format(filesize($fullpath)),
strftime("%Y-%m-%d %H:%M:%S", filemtime($fullpath)),
number_format(OC_FILESYSTEM::filesize($fullpath)),
strftime("%Y-%m-%d %H:%M:%S", OC_FILESYSTEM::filemtime($fullpath)),
"<a href='$name'>$name</a>");
}
}