Merge branch '1.0' into 2.0

This commit is contained in:
terrafrost 2019-01-27 17:04:12 -06:00
commit 0926c4286e

View File

@ -144,6 +144,11 @@ class SCP
return false;
}
if (empty($remote_file)) {
user_error('remote_file cannot be blank', E_USER_NOTICE);
return false;
}
if (!$this->ssh->exec('scp -t ' . escapeshellarg($remote_file), false)) { // -t = to
return false;
}