FTP CWD fixes from DD32. see #6245
git-svn-id: http://svn.automattic.com/wordpress/trunk@7327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -317,7 +317,7 @@ class ftp_base {
|
||||
function pwd() {
|
||||
if(!$this->_exec("PWD", "pwd")) return FALSE;
|
||||
if(!$this->_checkCode()) return FALSE;
|
||||
return ereg_replace("^[0-9]{3} \"(.+)\" .+".CRLF, "\\1", $this->_message);
|
||||
return ereg_replace("^[0-9]{3} \"(.+)\".+", "\\1", $this->_message);
|
||||
}
|
||||
|
||||
function cdup() {
|
||||
|
||||
Reference in New Issue
Block a user