Browse Source

Fixed small bug, added global $SERVERROOT to OC_UTIL

tags/v3.0
Kees Huiberts 13 years ago
parent
commit
e56c316576
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      inc/lib_base.php

+ 1
- 1
inc/lib_base.php View File

@@ -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…
Cancel
Save