summaryrefslogtreecommitdiffstats
path: root/lib/private/template/cssresourcelocator.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-12-31 15:12:17 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2013-12-31 15:12:17 +0100
commit6254f0a403e315461f8e20ebccf71cb91e9313a3 (patch)
treeffe0d16399866db7850e7ad0799d10cf517c0245 /lib/private/template/cssresourcelocator.php
parentae5671d2813f74562b77ae4288f01b4ed5ed52be (diff)
downloadnextcloud-server-6254f0a403e315461f8e20ebccf71cb91e9313a3.tar.gz
nextcloud-server-6254f0a403e315461f8e20ebccf71cb91e9313a3.zip
use getAppWebPath() in here as well
Diffstat (limited to 'lib/private/template/cssresourcelocator.php')
-rw-r--r--lib/private/template/cssresourcelocator.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/template/cssresourcelocator.php b/lib/private/template/cssresourcelocator.php
index 8e7831ca549..e26daa25827 100644
--- a/lib/private/template/cssresourcelocator.php
+++ b/lib/private/template/cssresourcelocator.php
@@ -22,7 +22,7 @@ class CSSResourceLocator extends ResourceLocator {
$app = substr($style, 0, strpos($style, '/'));
$style = substr($style, strpos($style, '/')+1);
$app_path = \OC_App::getAppPath($app);
- $app_url = $this->webroot . '/index.php/apps/' . $app;
+ $app_url = \OC_App::getAppWebPath($app);
if ($this->appendIfExist($app_path, $style.$this->form_factor.'.css', $app_url)
|| $this->appendIfExist($app_path, $style.'.css', $app_url)
) {