diff options
author | Klaus <Klaus.Weidenbach@gmx.net> | 2014-02-15 21:48:40 +0100 |
---|---|---|
committer | Klaus <Klaus.Weidenbach@gmx.net> | 2014-02-15 21:48:40 +0100 |
commit | 53d6d4c6556fe85a05ef6945d2ebc327e82cb3fb (patch) | |
tree | d1dfc121cf844cb44e16bffae07d1242778a029a | |
parent | d9e4f634665ec4da69b5af230f45f2a0e9688a1b (diff) | |
download | volse-hubzilla-53d6d4c6556fe85a05ef6945d2ebc327e82cb3fb.tar.gz volse-hubzilla-53d6d4c6556fe85a05ef6945d2ebc327e82cb3fb.tar.bz2 volse-hubzilla-53d6d4c6556fe85a05ef6945d2ebc327e82cb3fb.zip |
Fix call to asset icons in RedBrowser.
RedBrowser was not displaying asset icons correctly, because the URL was wrong.
-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); + } } |