summaryrefslogtreecommitdiffstats
path: root/lib/private/server.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-11-27 14:36:11 +0100
committerLukas Reschke <lukas@owncloud.com>2014-11-27 14:36:11 +0100
commitd197f434757c9c21d813584122329b774487f15e (patch)
treec9dfa53ee13e19c4e57a71e27af3042129c2eefd /lib/private/server.php
parent048139074df674d0ac82da12357d3934af3abc2e (diff)
downloadnextcloud-server-d197f434757c9c21d813584122329b774487f15e.tar.gz
nextcloud-server-d197f434757c9c21d813584122329b774487f15e.zip
Use server container
Diffstat (limited to 'lib/private/server.php')
-rw-r--r--lib/private/server.php9
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;
+ }
}