webdav: fix getDir file attributes
This commit is contained in:
parent
b2fa63bdcc
commit
65ce487327
|
@ -290,8 +290,8 @@
|
||||||
$fullpath = $fspath."/".$filename;
|
$fullpath = $fspath."/".$filename;
|
||||||
$name = htmlspecialchars($filename);
|
$name = htmlspecialchars($filename);
|
||||||
printf($format,
|
printf($format,
|
||||||
number_format(filesize($fullpath)),
|
number_format(OC_FILESYSTEM::filesize($fullpath)),
|
||||||
strftime("%Y-%m-%d %H:%M:%S", filemtime($fullpath)),
|
strftime("%Y-%m-%d %H:%M:%S", OC_FILESYSTEM::filemtime($fullpath)),
|
||||||
"<a href='$name'>$name</a>");
|
"<a href='$name'>$name</a>");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue