diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-09-13 13:42:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-13 13:42:41 +0200 |
commit | a90f0a6b36deac85f7bbd8a0f04368ad30117637 (patch) | |
tree | 96a8d0afb8e2a6c37a9bd2b8d3d4e4cacaccfd98 /lib/private | |
parent | df155fa3dfea7bf9cafba64c835224d237e496c5 (diff) | |
parent | be1cd7a308484e36ce4364c3da7692ecd117cf55 (diff) | |
download | nextcloud-server-a90f0a6b36deac85f7bbd8a0f04368ad30117637.tar.gz nextcloud-server-a90f0a6b36deac85f7bbd8a0f04368ad30117637.zip |
Merge pull request #47883 from nextcloud/fix/setup-checks
fix(setup-checks): Ensure URL with webroot works
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/URLGenerator.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/URLGenerator.php b/lib/private/URLGenerator.php index 7a23f36b7e7..24454806e02 100644 --- a/lib/private/URLGenerator.php +++ b/lib/private/URLGenerator.php @@ -255,7 +255,7 @@ class URLGenerator implements IURLGenerator { /** * Makes an URL absolute - * @param string $url the url in the ownCloud host + * @param string $url the url in the Nextcloud host * @return string the absolute version of the url */ public function getAbsoluteURL(string $url): string { @@ -264,7 +264,7 @@ class URLGenerator implements IURLGenerator { if (\OC::$CLI && !\defined('PHPUNIT_RUN')) { return rtrim($this->config->getSystemValueString('overwrite.cli.url'), '/') . '/' . ltrim($url, '/'); } - // The ownCloud web root can already be prepended. + // The Nextcloud web root could already be prepended. if (\OC::$WEBROOT !== '' && str_starts_with($url, \OC::$WEBROOT)) { $url = substr($url, \strlen(\OC::$WEBROOT)); } |