aboutsummaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-09-11 01:14:56 +0200
committerFerdinand Thiessen <opensource@fthiessen.de>2024-09-13 13:06:24 +0200
commit9e979d42b4c301fcf4922968970a7fd1de1eea88 (patch)
tree030145d529addcd478237873dea2433d53b3a6d7 /lib/base.php
parent6aa387ea9e5af0e167176d5679adf6a38f13befd (diff)
downloadnextcloud-server-9e979d42b4c301fcf4922968970a7fd1de1eea88.tar.gz
nextcloud-server-9e979d42b4c301fcf4922968970a7fd1de1eea88.zip
fix(setup-checks): Ensure URL with webroot works
We basically mock the way `URLGenerator::getAbsoluteURL` works, so we must make sure that the URL might already contain the webroot. Because `baseURL` and `cliURL` also contain the webroot we need to remove the webroot from the URL first. Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Daniel <mail@danielkesselberg.de> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index d0d030faf55..1f9caf473e2 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -43,7 +43,7 @@ class OC {
*/
private static string $SUBURI = '';
/**
- * the Nextcloud root path for http requests (e.g. nextcloud/)
+ * the Nextcloud root path for http requests (e.g. /nextcloud)
*/
public static string $WEBROOT = '';
/**