diff options
author | friendica <info@friendica.com> | 2014-02-16 14:14:50 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-02-16 14:14:50 -0800 |
commit | 0f5ebb9b5a84119466fe0c450a10fb10b32b8cbd (patch) | |
tree | e3dbb21bb0b04752a8b068de0fb24c80831bc4d5 /include | |
parent | ebd52368bb134e57a54d853732b5b4970a8ce02b (diff) | |
parent | e40cdb2047c22a5cd7adbca16fa3c804d7b80509 (diff) | |
download | volse-hubzilla-0f5ebb9b5a84119466fe0c450a10fb10b32b8cbd.tar.gz volse-hubzilla-0f5ebb9b5a84119466fe0c450a10fb10b32b8cbd.tar.bz2 volse-hubzilla-0f5ebb9b5a84119466fe0c450a10fb10b32b8cbd.zip |
Merge https://github.com/friendica/red into zpull
Diffstat (limited to 'include')
-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); + } } |