Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorKees Huiberts <snowy@derideal.com>2010-10-21 21:38:01 +0400
committerroot <root@Amaya.(none)>2010-10-21 22:11:55 +0400
commite56c3165764bd79c4067e89d477f9d7007f2818d (patch)
tree6b7cadd020e129b9f7ddf535716bb645664c60b4 /inc
parent13efdf6aa7d8c957f5898726725f2e2ed5c61a59 (diff)
Fixed small bug, added global $SERVERROOT to OC_UTIL
Diffstat (limited to 'inc')
-rw-r--r--inc/lib_base.php2
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','&amp;');
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;