function FileTransferLocal::copyFileJailed
Overrides FileTransfer::copyFileJailed
File
-
includes/
filetransfer/ local.inc, line 16
Class
- FileTransferLocal
- The local connection class for copying files as the httpd user.
Code
protected function copyFileJailed($source, $destination) {
if (@(!copy($source, $destination))) {
throw new FileTransferException('Cannot copy %source to %destination.', NULL, array(
'%source' => $source,
'%destination' => $destination,
));
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.