forked from Alex/Pterodactyl-Panel
Fix nested directories being created incorrectly
This commit is contained in:
parent
a430ebb89e
commit
fdec3cea80
@ -159,7 +159,7 @@ class FileController extends ClientApiController
|
|||||||
{
|
{
|
||||||
$this->fileRepository
|
$this->fileRepository
|
||||||
->setServer($server)
|
->setServer($server)
|
||||||
->createDirectory($request->input('name'), $request->input('directory', '/'));
|
->createDirectory($request->input('name'), $request->input('root', '/'));
|
||||||
|
|
||||||
return Response::create('', Response::HTTP_NO_CONTENT);
|
return Response::create('', Response::HTTP_NO_CONTENT);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user