aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKlaus <Klaus.Weidenbach@gmx.net>2014-02-15 22:25:14 +0100
committerKlaus <Klaus.Weidenbach@gmx.net>2014-02-15 22:25:14 +0100
commit01f31c2f2060a925c22b3f92e841d4f951d1825c (patch)
treef4f7942b5fe7e9616d78cae9dc91be382810a34a /include
parent53d6d4c6556fe85a05ef6945d2ebc327e82cb3fb (diff)
downloadvolse-hubzilla-01f31c2f2060a925c22b3f92e841d4f951d1825c.tar.gz
volse-hubzilla-01f31c2f2060a925c22b3f92e841d4f951d1825c.tar.bz2
volse-hubzilla-01f31c2f2060a925c22b3f92e841d4f951d1825c.zip
Make asset icons work in subdir installs as well.
This should be the right way I guess, especially if red# is installed in a subdirectory. (untested)
Diffstat (limited to 'include')
-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);
}
}