mirror of
https://github.com/danog/tgseclib.git
synced 2024-11-26 20:24:39 +01: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);
|
||||
|
||||
// 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;
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user