From 36fa9e4e487d10fce1de9ba0b4065c30cd4fc7b2 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Sun, 18 May 2014 15:55:12 -0500 Subject: [PATCH] SFTP: use_cache -> use_stat_cache --- phpseclib/Net/SFTP.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpseclib/Net/SFTP.php b/phpseclib/Net/SFTP.php index 34b82bdb..a64b48cd 100644 --- a/phpseclib/Net/SFTP.php +++ b/phpseclib/Net/SFTP.php @@ -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; }