1.20.x filetransfer.inc FileTransfer::setChroot()

Sets the chroot and changes the jail to match the correct path scheme

File

includes/filetransfer/filetransfer.inc, line 330
Base FileTransfer class.

Class

FileTransfer
@file Base FileTransfer class.

Code

function setChroot() {
  $this->chroot = $this->findChroot();
  $this->jail = $this->fixRemotePath($this->jail);
}