diff options
author | Björn Schießle <schiessle@owncloud.com> | 2012-10-18 17:08:25 +0200 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2012-10-18 17:15:30 +0200 |
commit | 2499c24b8b31845488adcdae76a0ababa737cf27 (patch) | |
tree | e6a334eba78d7587f02a9bd8f0662eaa1bb2cd98 /lib/util.php | |
parent | 00ed2e87c9a1aa6f9ecd54ceaec4346250f6afca (diff) | |
download | nextcloud-server-2499c24b8b31845488adcdae76a0ababa737cf27.tar.gz nextcloud-server-2499c24b8b31845488adcdae76a0ababa737cf27.zip |
load system wide configured mount points before accessing shared files
Diffstat (limited to 'lib/util.php')
-rwxr-xr-x | lib/util.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util.php b/lib/util.php index 29f2c56b0b2..eb0e5e8ec40 100755 --- a/lib/util.php +++ b/lib/util.php @@ -53,7 +53,7 @@ class OC_Util { OC_FileProxy::register($quotaProxy); OC_FileProxy::register($fileOperationProxy); // Load personal mount config - self::loadMountPoints($user); + self::loadUserMountPoints($user); OC_Hook::emit('OC_Filesystem', 'setup', array('user' => $user, 'user_dir' => $user_dir)); } } @@ -63,7 +63,7 @@ class OC_Util { self::$fsSetup=false; } - public static function loadMountPoints($user) { + public static function loadUserMountPoints($user) { $user_dir = '/'.$user.'/files';
$user_root = OC_User::getHome($user);
$userdirectory = $user_root . '/files'; |