mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
git-svn-id: http://svn.automattic.com/wordpress/trunk@14120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e8c8ef08f0
commit
629432887e
@ -338,7 +338,8 @@ class WP_Filesystem_FTPext extends WP_Filesystem_Base {
|
||||
}
|
||||
|
||||
$pwd = @ftp_pwd($this->link);
|
||||
$chdir = @ftp_chdir($this->link, $path);
|
||||
if ( ! @ftp_chdir($this->link, $path) ) // Cant change to folder = folder doesnt exist
|
||||
return false;
|
||||
$list = @ftp_rawlist($this->link, '-a', false);
|
||||
@ftp_chdir($this->link, $pwd);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user