[Pkg-owncloud-commits] [php-sabredav] 62/220: Update Directory.php

David Prévot taffit at moszumanska.debian.org
Thu May 12 01:21:08 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository php-sabredav.

commit 24f011b8702e047a5760eb7d58d381f960819981
Author: Tony Bogdanov <tonybogdanov at gmail.com>
Date:   Sun Feb 7 14:38:42 2016 +0200

    Update Directory.php
---
 lib/DAV/FS/Directory.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/DAV/FS/Directory.php b/lib/DAV/FS/Directory.php
index 4d7cb26..362f7a4 100644
--- a/lib/DAV/FS/Directory.php
+++ b/lib/DAV/FS/Directory.php
@@ -140,7 +140,7 @@ class Directory extends Node implements DAV\ICollection, DAV\IQuota {
      * @return array
      */
     function getQuotaInfo() {
-        $absolute = getcwd() . '/' . $this->path;
+        $absolute = realpath($this->path);
         return [
             disk_total_space($absolute) - disk_free_space($absolute),
             disk_free_space($absolute)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-php/php-sabredav.git



More information about the Pkg-owncloud-commits mailing list