From 5fbed936bffa1dc06e5356a89f079fe27aa624b2 Mon Sep 17 00:00:00 2001 From: Michael Gapczynski Date: Mon, 15 Aug 2011 20:33:02 -0400 Subject: Automatic creation of 'Shared' directory, bug fixes for an empty 'Shared' directory --- lib/util.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/util.php') 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 )){ -- cgit v1.2.3