diff options
author | Kees Huiberts <snowy@derideal.com> | 2010-10-21 19:38:01 +0200 |
---|---|---|
committer | root <root@Amaya.(none)> | 2010-10-21 20:11:55 +0200 |
commit | e56c3165764bd79c4067e89d477f9d7007f2818d (patch) | |
tree | 6b7cadd020e129b9f7ddf535716bb645664c60b4 /inc | |
parent | 13efdf6aa7d8c957f5898726725f2e2ed5c61a59 (diff) | |
download | nextcloud-server-e56c3165764bd79c4067e89d477f9d7007f2818d.tar.gz nextcloud-server-e56c3165764bd79c4067e89d477f9d7007f2818d.zip |
Fixed small bug, added global $SERVERROOT to OC_UTIL
Diffstat (limited to 'inc')
-rw-r--r-- | inc/lib_base.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/lib_base.php b/inc/lib_base.php index 3f7a98d7ac3..3afbafc903f 100644 --- a/inc/lib_base.php +++ b/inc/lib_base.php @@ -31,7 +31,6 @@ date_default_timezone_set('Europe/Berlin'); ini_set('arg_separator.output','&'); ini_set('session.cookie_httponly','1;'); session_start(); - // calculate the documentroot $SERVERROOT=substr(__FILE__,0,-17); $DOCUMENTROOT=realpath($_SERVER['DOCUMENT_ROOT']); @@ -119,6 +118,7 @@ class OC_UTIL { if(self::$fsSetup){//setting up the filesystem twice can only lead to trouble return false; } + global $SERVERROOT; global $CONFIG_DATADIRECTORY_ROOT; global $CONFIG_DATADIRECTORY; global $CONFIG_BACKUPDIRECTORY; |