diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-11-27 14:36:11 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-11-27 14:36:11 +0100 |
commit | d197f434757c9c21d813584122329b774487f15e (patch) | |
tree | c9dfa53ee13e19c4e57a71e27af3042129c2eefd /lib/private/server.php | |
parent | 048139074df674d0ac82da12357d3934af3abc2e (diff) | |
download | nextcloud-server-d197f434757c9c21d813584122329b774487f15e.tar.gz nextcloud-server-d197f434757c9c21d813584122329b774487f15e.zip |
Use server container
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; + } } |