mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-09 04:56:06 +00:00
make sure dropfolderdir doesn't contain double '/'
This commit is contained in:
parent
c5778b2d44
commit
4d10f196e8
|
@ -64,7 +64,7 @@ $('.folderselect').click(function(ev) {
|
|||
|
||||
$c = 0; // count files
|
||||
$filecontent = '';
|
||||
$dir = $dropfolderdir.'/'.$user->getLogin();
|
||||
$dir = rtrim($dropfolderdir, '/').'/'.$user->getLogin();
|
||||
/* Check if we are still looking in the configured directory and
|
||||
* not somewhere else, e.g. if the login was '../test'
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue
Block a user