diff options
author | friendica <info@friendica.com> | 2015-01-18 19:24:59 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-01-18 19:24:59 -0800 |
commit | 4c45068d70c086fc1417ab95f632a560a31efca2 (patch) | |
tree | 5a6518a6dc76e2e19283846aab5b8f950dbe9645 | |
parent | 89a2012f7f109a775199570853cf0eea1b8aaf35 (diff) | |
download | volse-hubzilla-4c45068d70c086fc1417ab95f632a560a31efca2.tar.gz volse-hubzilla-4c45068d70c086fc1417ab95f632a560a31efca2.tar.bz2 volse-hubzilla-4c45068d70c086fc1417ab95f632a560a31efca2.zip |
typo
-rw-r--r-- | include/RedDAV/RedDirectory.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/RedDAV/RedDirectory.php b/include/RedDAV/RedDirectory.php index 75ad6a34e..68186d21b 100644 --- a/include/RedDAV/RedDirectory.php +++ b/include/RedDAV/RedDirectory.php @@ -53,7 +53,7 @@ class RedDirectory extends DAV\Node implements DAV\ICollection, DAV\IQuota { $this->ext_path = $ext_path; // remove "/cloud" from the beginning of the path $modulename = get_app()->module; - $this->red_path = ((strpos($ext_path, '/' . $modulename') === 0) ? substr($ext_path, strlen($modulename) + 1) : $ext_path); + $this->red_path = ((strpos($ext_path, '/' . $modulename) === 0) ? substr($ext_path, strlen($modulename) + 1) : $ext_path); if (! $this->red_path) { $this->red_path = '/'; } @@ -341,7 +341,7 @@ class RedDirectory extends DAV\Node implements DAV\ICollection, DAV\IQuota { function getDir() { //logger($this->ext_path, LOGGER_DEBUG); $this->auth->log(); - $modulename = get_app->module; + $modulename = get_app()->module; $file = $this->ext_path; |