Make sure we append a slash to the path
This commit is contained in:
parent
4db04614da
commit
3d0618d43f
|
@ -70,7 +70,7 @@ class Users
|
|||
mkdir($user->path, 0770, true);
|
||||
}
|
||||
|
||||
$user->path = realpath($user->path);
|
||||
$user->path = rtrim(realpath($user->path), '/') . '/';
|
||||
|
||||
$user->dav_url = WWW_URL . 'files/' . $user->login . '/';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue