diff options
author | Robin <robin@Amaya.(none)> | 2010-04-28 12:23:19 +0200 |
---|---|---|
committer | Robin <robin@Amaya.(none)> | 2010-04-28 12:23:19 +0200 |
commit | 68ef145609516e35e5dfd27f6923cca83b88bb22 (patch) | |
tree | 67baf261c8fa12db43eb7a9e8d141aac2af6919f /inc | |
parent | aacda0367d2894911098357e3c82c03071d27a02 (diff) | |
download | nextcloud-server-68ef145609516e35e5dfd27f6923cca83b88bb22.tar.gz nextcloud-server-68ef145609516e35e5dfd27f6923cca83b88bb22.zip |
fix determing the user specific data directory when the data directory is not the default one
Diffstat (limited to 'inc')
-rwxr-xr-x | 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 ebc40372e16..52b9aeedd4a 100755 --- a/inc/lib_base.php +++ b/inc/lib_base.php @@ -75,7 +75,7 @@ if(!is_dir($CONFIG_DATADIRECTORY)){ } if(OC_USER::isLoggedIn()){ //jail the user in a seperate data folder - $CONFIG_DATADIRECTORY=$SERVERROOT.'/data/'.$_SESSION['username_clean']; + $CONFIG_DATADIRECTORY.=$_SESSION['username_clean']; if(!is_dir($CONFIG_DATADIRECTORY)){ mkdir($CONFIG_DATADIRECTORY); } |