1
0
Fork 0

Add ssh2 protocol default ports, fixes #4835

pull/4840/head
Jordi Boggiano 2016-01-26 16:53:09 +00:00
parent 1edb228d81
commit ae14e0f086
1 changed files with 2 additions and 0 deletions

View File

@ -1002,6 +1002,8 @@ class RemoteFilesystem
'ftp' => 21,
'http' => 80,
'https' => 443,
'ssh2.sftp' => 22,
'ssh2.scp' => 22,
);
$scheme = parse_url($url, PHP_URL_SCHEME);