diff options
Diffstat (limited to 'lib/private/server.php')
-rw-r--r-- | lib/private/server.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/private/server.php b/lib/private/server.php index c413ee8bf6d..e28e8362796 100644 --- a/lib/private/server.php +++ b/lib/private/server.php @@ -631,4 +631,13 @@ class Server extends SimpleContainer implements IServerContainer { function getAppManager() { return $this->query('AppManager'); } + + /** + * Get the webroot + * + * @return string + */ + function getWebRoot() { + return \OC::$WEBROOT; + } } |