Skip to content
Snippets Groups Projects
Commit e56c3165 authored by Kees Huiberts's avatar Kees Huiberts Committed by root
Browse files

Fixed small bug, added global $SERVERROOT to OC_UTIL

parent 13efdf6a
Branches
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment