Fixed small bug, added global $SERVERROOT to OC_UTIL
This commit is contained in:
parent
13efdf6aa7
commit
e56c316576
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue