diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-02-20 13:27:46 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-02-20 13:27:46 +0100 |
commit | 7242d00aa6cbf1b0fda0bfeb4392263d909cc3e4 (patch) | |
tree | 51d8b3ca9eaa667be3c4851ff66a958ae4417afa /lib | |
parent | 328428e40a17779199da065086307060799d0575 (diff) | |
download | nextcloud-server-7242d00aa6cbf1b0fda0bfeb4392263d909cc3e4.tar.gz nextcloud-server-7242d00aa6cbf1b0fda0bfeb4392263d909cc3e4.zip |
enable static delivery of css files
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/template/cssresourcelocator.php | 2 |
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) ) { |