wp-fs fixes from DD32. see #5586

git-svn-id: https://develop.svn.wordpress.org/trunk@7155 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-03-04 17:10:17 +00:00
parent 9266ee91aa
commit dc6c68d79a
4 changed files with 24 additions and 19 deletions
@@ -122,9 +122,9 @@ class WP_Filesystem_ftpsockets{
return $this->find_base_dir('/',$echo);
}
function get_base_dir($base = '.'){
function get_base_dir($base = '.', $echo = false){
if( empty($this->wp_base) )
$this->wp_base = $this->find_base_dir($base);
$this->wp_base = $this->find_base_dir($base, $echo);
return $this->wp_base;
}