]> source.dussan.org Git - nextcloud-server.git/commitdiff
use getAppWebPath() in here as well
authorThomas Müller <thomas.mueller@tmit.eu>
Tue, 31 Dec 2013 14:12:17 +0000 (15:12 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Tue, 31 Dec 2013 14:12:17 +0000 (15:12 +0100)
lib/private/template/cssresourcelocator.php

index 8e7831ca549fa615d87cbb4176d27a813d058d55..e26daa258278aa9dfb3a43035cced0363ca20cfd 100644 (file)
@@ -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)
                ) {