fix cloud path

This commit is contained in:
redmatrix 2016-08-07 16:21:51 -07:00
parent 89c026924b
commit e1659b0725

View File

@ -330,7 +330,7 @@ class Browser extends DAV\Browser\Plugin {
'$deny_gid' => acl2json($channel_acl['deny_gid']),
'$lockstate' => $lockstate,
'$return_url' => \App::$cmd,
'$path' => str_replace('cloud/' . $this->auth->owner_nick . '/', '', $path),
'$path' => trim(str_replace('cloud/' . $this->auth->owner_nick, '', $path),'/'),
'$dragdroptext' => t('Drop files here to immediately upload')
));
}