summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-01-20 10:10:34 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-01-20 10:10:34 +0100
commit221e656e91de48f74e170662cb9680e5e2aac792 (patch)
treea269e9425b09262545e8acadf782f2ea84dde01c /lib
parent39be83ca8b4969d5a9a34500d59b2cf49f789688 (diff)
downloadnextcloud-server-221e656e91de48f74e170662cb9680e5e2aac792.tar.gz
nextcloud-server-221e656e91de48f74e170662cb9680e5e2aac792.zip
Revert "use getAppWebPath() in here as well"
This reverts commit 6254f0a403e315461f8e20ebccf71cb91e9313a3.
Diffstat (limited to 'lib')
-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 e26daa25827..8e7831ca549 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 = \OC_App::getAppWebPath($app);
+ $app_url = $this->webroot . '/index.php/apps/' . $app;
if ($this->appendIfExist($app_path, $style.$this->form_factor.'.css', $app_url)
|| $this->appendIfExist($app_path, $style.'.css', $app_url)
) {