summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-08-10 12:20:43 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-08-10 14:03:54 +0200
commitcdf91b6b3e0f6d9fc435497b9dcc051ff24d6c7e (patch)
tree9793b565309aa098d174a69f10b22d89cb007502 /lib/base.php
parent9059b559791b9f5333c24815c4bfd77cc6201c5e (diff)
downloadnextcloud-server-cdf91b6b3e0f6d9fc435497b9dcc051ff24d6c7e.tar.gz
nextcloud-server-cdf91b6b3e0f6d9fc435497b9dcc051ff24d6c7e.zip
work in new app management
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index f59e375e763..93b8e0b584d 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -90,7 +90,8 @@ if(substr($scriptName,-1)=='/'){
}
$WEBROOT=substr($scriptName,0,strlen($scriptName)-strlen($SUBURI));
-
+OC::$SERVERROOT=$SERVERROOT;
+OC::$WEBROOT=$WEBROOT;
if($WEBROOT!='' and $WEBROOT[0]!=='/'){
$WEBROOT='/'.$WEBROOT;