aboutsummaryrefslogtreecommitdiffstats
path: root/include/reddav.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-17 15:11:05 +1100
committerfriendica <info@friendica.com>2014-02-17 15:11:05 +1100
commitf38ab0904101366bf536d46ab460dcd5cf4f60ca (patch)
treec6679ddb544217a10d8255578009c4ba8951bc6b /include/reddav.php
parentdf22a7893614a2d3e5cba6614bd254f59257a5f5 (diff)
parent29f6a1ee33b27886afc135e05ecac592651bb7b2 (diff)
downloadvolse-hubzilla-f38ab0904101366bf536d46ab460dcd5cf4f60ca.tar.gz
volse-hubzilla-f38ab0904101366bf536d46ab460dcd5cf4f60ca.tar.bz2
volse-hubzilla-f38ab0904101366bf536d46ab460dcd5cf4f60ca.zip
Merge pull request #316 from dawnbreak/master
Make asset icons work in subdir installs as well.
Diffstat (limited to 'include/reddav.php')
-rw-r--r--include/reddav.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/reddav.php b/include/reddav.php
index cb2aa3bb9..6182aeacd 100644
--- a/include/reddav.php
+++ b/include/reddav.php
@@ -1072,7 +1072,7 @@ class RedBrowser extends DAV\Browser\Plugin {
* @return string
*/
protected function getAssetUrl($assetName) {
- return '/cloud/?sabreAction=asset&assetName=' . urlencode($assetName);
+ return z_root() .'/cloud/?sabreAction=asset&assetName=' . urlencode($assetName);
}
}