mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-27 17:18:25 +00:00
Merge branch 'jude' into 1.0
This commit is contained in:
commit
354666c36d
@ -197,7 +197,7 @@ class Net_SFTP_Stream
|
|||||||
|
|
||||||
if ($host[0] == '$') {
|
if ($host[0] == '$') {
|
||||||
$host = substr($host, 1);
|
$host = substr($host, 1);
|
||||||
global $$host;
|
global ${$host};
|
||||||
if (!is_object($$host) || get_class($$host) != 'Net_SFTP') {
|
if (!is_object($$host) || get_class($$host) != 'Net_SFTP') {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user