diff options
Diffstat (limited to 'lib/Controller/StaticController.php')
-rw-r--r-- | lib/Controller/StaticController.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Controller/StaticController.php b/lib/Controller/StaticController.php index 3c0f17e..38af7d7 100644 --- a/lib/Controller/StaticController.php +++ b/lib/Controller/StaticController.php @@ -66,6 +66,9 @@ class StaticController extends Controller { throw new ForbiddenException(); } + // use english images for all help pages to save space + $path = preg_replace("|resources/help/\w+/images|", "resources/help/en/images", $path); + $localPath = __DIR__ . '/../../3rdparty/onlyoffice/documentserver/' . $path; return $this->createFileResponse($localPath); |