diff options
author | Jonas Meurer <jonas@freesources.org> | 2021-08-10 11:06:24 +0200 |
---|---|---|
committer | Jonas Meurer <jonas@freesources.org> | 2021-08-16 10:56:47 +0200 |
commit | 7c76e85ddefc481fd9582560c59c4883dbd7caad (patch) | |
tree | 7c5012d53d88a725cff1b2fafebf91d2779586d0 /lib/public/IURLGenerator.php | |
parent | 5f5bacde8f6f65eeaba0d1b86eb134b5527c0d54 (diff) | |
download | nextcloud-server-7c76e85ddefc481fd9582560c59c4883dbd7caad.tar.gz nextcloud-server-7c76e85ddefc481fd9582560c59c4883dbd7caad.zip |
Use IURLGenerator function to get value of `\OC::$WEBROOT` global
Signed-off-by: Jonas Meurer <jonas@freesources.org>
Diffstat (limited to 'lib/public/IURLGenerator.php')
-rw-r--r-- | lib/public/IURLGenerator.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/public/IURLGenerator.php b/lib/public/IURLGenerator.php index 486ca47d252..9f1a6447eb4 100644 --- a/lib/public/IURLGenerator.php +++ b/lib/public/IURLGenerator.php @@ -102,4 +102,10 @@ interface IURLGenerator { * @since 13.0.0 */ public function getBaseUrl(): string; + + /** + * @return string webroot part of the base url + * @since 23.0.0 + */ + public function getWebroot(): string; } |