mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-27 03:42:40 +00:00
SFTP: use_cache -> use_stat_cache
This commit is contained in:
parent
e09a6968da
commit
36fa9e4e48
@ -675,7 +675,7 @@ class Net_SFTP extends Net_SSH2
|
|||||||
$dir = $this->_realpath($dir);
|
$dir = $this->_realpath($dir);
|
||||||
|
|
||||||
// confirm that $dir is, in fact, a valid directory
|
// confirm that $dir is, in fact, a valid directory
|
||||||
if ($this->use_cache && is_array($this->_query_stat_cache($dir))) {
|
if ($this->use_stat_cache && is_array($this->_query_stat_cache($dir))) {
|
||||||
$this->pwd = $dir;
|
$this->pwd = $dir;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user