SFTP: use_cache -> use_stat_cache

This commit is contained in:
terrafrost 2014-05-18 15:55:12 -05:00
parent e09a6968da
commit 36fa9e4e48

View File

@ -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;
}