mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Fix opening Help page throws Exception
- Commit 458c2fa297 provoked the error,
because the "core" "app" was not found. Previously, false was
returned, but now an AppPathNotFoundException
- IUrlGenerator::linkTo() accepts an empty app argument however, moving
the "core" portion to the path solves it and avoids apps lookup
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
b6265a8255
commit
1a781ccf56
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ class HelpController extends Controller {
|
|||
}
|
||||
|
||||
$documentationUrl = $this->urlGenerator->getAbsoluteURL(
|
||||
$this->urlGenerator->linkTo('core', 'doc/' . $mode . '/index.html')
|
||||
$this->urlGenerator->linkTo('', 'core/doc/' . $mode . '/index.html')
|
||||
);
|
||||
|
||||
$urlUserDocs = $this->urlGenerator->linkToRoute('settings.Help.help', ['mode' => 'user']);
|
||||
|
|
|
|||
Loading…
Reference in a new issue