mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 09:12:51 +01:00
Fix uploading from Windows to Unix.
This commit is contained in:
parent
e18977e18c
commit
4f16be0a98
@ -124,6 +124,8 @@ class PhpSecLib implements ServerInterface
|
||||
{
|
||||
$this->checkConnection();
|
||||
|
||||
$remote = str_replace('\\', '/', $remote);
|
||||
|
||||
$dir = dirname($remote);
|
||||
|
||||
if (!isset($this->directories[$dir])) {
|
||||
|
@ -120,6 +120,8 @@ class SshExtension implements ServerInterface
|
||||
{
|
||||
$this->checkConnection();
|
||||
|
||||
$remote = str_replace('\\', '/', $remote);
|
||||
|
||||
$dir = dirname($remote);
|
||||
|
||||
if (!isset($this->directories[$dir])) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user