summaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorRobin <robin@Amaya.(none)>2010-04-28 12:23:19 +0200
committerRobin <robin@Amaya.(none)>2010-04-28 12:23:19 +0200
commit68ef145609516e35e5dfd27f6923cca83b88bb22 (patch)
tree67baf261c8fa12db43eb7a9e8d141aac2af6919f /inc
parentaacda0367d2894911098357e3c82c03071d27a02 (diff)
downloadnextcloud-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-xinc/lib_base.php2
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);
}