diff options
author | Michael Gapczynski <GapczynskiM@gmail.com> | 2011-08-15 20:33:02 -0400 |
---|---|---|
committer | Michael Gapczynski <GapczynskiM@gmail.com> | 2011-08-15 20:33:02 -0400 |
commit | 5fbed936bffa1dc06e5356a89f079fe27aa624b2 (patch) | |
tree | 6003fba7049c36132130c620a7c6e1da8b7ba911 /lib | |
parent | 1ec75330ecf342ef38092934294a6a444bbbdac7 (diff) | |
download | nextcloud-server-5fbed936bffa1dc06e5356a89f079fe27aa624b2.tar.gz nextcloud-server-5fbed936bffa1dc06e5356a89f079fe27aa624b2.zip |
Automatic creation of 'Shared' directory, bug fixes for an empty 'Shared' directory
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util.php b/lib/util.php index 53c4283be11..4b49d1319b9 100644 --- a/lib/util.php +++ b/lib/util.php @@ -54,8 +54,8 @@ class OC_Util { OC_Filesystem::mount($rootStorage,'/'); // TODO add this storage provider in a proper way - $sharedStorage = OC_Filesystem::createStorage('shared',array('datadir'=>'/'.OC_User::getUser().'/files/Share/')); - OC_Filesystem::mount($sharedStorage,'/'.OC_User::getUser().'/files/Share/'); + $sharedStorage = OC_Filesystem::createStorage('shared',array('datadir'=>'/'.OC_User::getUser().'/files/Shared/')); + OC_Filesystem::mount($sharedStorage,'/'.OC_User::getUser().'/files/Shared/'); $CONFIG_DATADIRECTORY = "$CONFIG_DATADIRECTORY_ROOT/$user/$root"; if( !is_dir( $CONFIG_DATADIRECTORY )){ |