mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
FTP CWD fixes from DD32. see #6245
git-svn-id: https://develop.svn.wordpress.org/trunk@7327 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -325,7 +325,7 @@ function get_filesystem_method() {
|
||||
}
|
||||
|
||||
if ( extension_loaded('ftp') ) return 'ftpext';
|
||||
if ( extension_loaded('sockets') ) return 'ftpsockets';
|
||||
if ( extension_loaded('sockets') || function_exists('fsockopen') ) return 'ftpsockets'; //Sockets: Socket extension; PHP Mode: FSockopen / fwrite / fread
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user