summaryrefslogtreecommitdiffstats
path: root/apps/accessibility/lib
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-22 11:25:28 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-25 17:12:28 +0200
commit1de8f6dd3775278888199c6a0dce4f72863cd930 (patch)
tree15a9d6fb6c29e03877fa2fa697cf25a33297d037 /apps/accessibility/lib
parent2e08cc958c930cd09a95e2e8e6df5d56ad5fb897 (diff)
downloadnextcloud-server-1de8f6dd3775278888199c6a0dce4f72863cd930.tar.gz
nextcloud-server-1de8f6dd3775278888199c6a0dce4f72863cd930.zip
Fix webroot
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/accessibility/lib')
-rw-r--r--apps/accessibility/lib/Controller/AccessibilityController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/accessibility/lib/Controller/AccessibilityController.php b/apps/accessibility/lib/Controller/AccessibilityController.php
index c4b010e94f8..ea4de77d7a0 100644
--- a/apps/accessibility/lib/Controller/AccessibilityController.php
+++ b/apps/accessibility/lib/Controller/AccessibilityController.php
@@ -147,7 +147,7 @@ class AccessibilityController extends Controller {
// Rebase all urls
$appWebRoot = substr($this->appRoot, strlen($this->serverRoot) - strlen(\OC::$WEBROOT));
- $css = $this->rebaseUrls($css, $appWebRoot);
+ $css = $this->rebaseUrls($css, $appWebRoot . '/css');
$response = new DataDisplayResponse($css, Http::STATUS_OK, ['Content-Type' => 'text/css']);