Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2022-08-24 19:55:34 +0300
committerArthur Schiwon <blizzz@arthur-schiwon.de>2022-08-24 19:55:34 +0300
commit1a781ccf5610efa7a2f09c059b135d6eff674728 (patch)
tree5cd0e52f9eb78a1d93d61afdbb1bd7d4d58837b9 /apps
parentb6265a825560b57d635f23075de5d21282dc1c27 (diff)
Fix opening Help page throws Exception
- Commit 458c2fa2971e6595a18a289b0afeb4a79ea0e0d3 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>
Diffstat (limited to 'apps')
-rw-r--r--apps/settings/lib/Controller/HelpController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/lib/Controller/HelpController.php b/apps/settings/lib/Controller/HelpController.php
index 8a62fb9b58c..b8780ae40ba 100644
--- a/apps/settings/lib/Controller/HelpController.php
+++ b/apps/settings/lib/Controller/HelpController.php
@@ -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']);