Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-12-31 18:12:17 +0400
committerThomas Müller <thomas.mueller@tmit.eu>2013-12-31 18:12:17 +0400
commit6254f0a403e315461f8e20ebccf71cb91e9313a3 (patch)
treeffe0d16399866db7850e7ad0799d10cf517c0245 /lib/private/template
parentae5671d2813f74562b77ae4288f01b4ed5ed52be (diff)
use getAppWebPath() in here as well
Diffstat (limited to 'lib/private/template')
-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)
) {