]> source.dussan.org Git - nextcloud-server.git/commitdiff
webdav: fix getDir file attributes
authorThibaut GRIDEL <tgridel@free.fr>
Wed, 19 May 2010 22:41:25 +0000 (00:41 +0200)
committerThibaut GRIDEL <tgridel@free.fr>
Wed, 19 May 2010 22:41:25 +0000 (00:41 +0200)
inc/HTTP/WebDAV/Server/Filesystem.php

index 8e84288b3d0928f19a44dd5f36ee7210e5b08d49..1dc32a72126df1dc2cc59a80b70714ce1cf3cb61 100755 (executable)
                 $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>");
             }
         }