diff options
author | friendica <info@friendica.com> | 2014-02-16 07:58:46 +1100 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-02-16 07:58:46 +1100 |
commit | 66ecd3f8cd4fb3f0f6de5ddd8ef8732186695178 (patch) | |
tree | d1dfc121cf844cb44e16bffae07d1242778a029a /include/reddav.php | |
parent | d9e4f634665ec4da69b5af230f45f2a0e9688a1b (diff) | |
parent | 53d6d4c6556fe85a05ef6945d2ebc327e82cb3fb (diff) | |
download | volse-hubzilla-66ecd3f8cd4fb3f0f6de5ddd8ef8732186695178.tar.gz volse-hubzilla-66ecd3f8cd4fb3f0f6de5ddd8ef8732186695178.tar.bz2 volse-hubzilla-66ecd3f8cd4fb3f0f6de5ddd8ef8732186695178.zip |
Merge pull request #315 from dawnbreak/master
Fix call to asset icons in RedBrowser.
Diffstat (limited to 'include/reddav.php')
-rw-r--r-- | include/reddav.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/reddav.php b/include/reddav.php index a8d6739f0..cb2aa3bb9 100644 --- a/include/reddav.php +++ b/include/reddav.php @@ -1064,5 +1064,15 @@ class RedBrowser extends DAV\Browser\Plugin { } + /** + * This method takes a path/name of an asset and turns it into url + * suiteable for http access. + * + * @param string $assetName + * @return string + */ + protected function getAssetUrl($assetName) { + return '/cloud/?sabreAction=asset&assetName=' . urlencode($assetName); + } } |