Enable wpfs auto selection. Props DD32. seee #5586

git-svn-id: http://svn.automattic.com/wordpress/trunk@7414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-03-20 06:08:27 +00:00
parent 13d4f1226e
commit 3b9c0f73d5
1 changed files with 0 additions and 2 deletions

View File

@ -313,8 +313,6 @@ function WP_Filesystem( $args = false, $preference = false ) {
} }
function get_filesystem_method() { function get_filesystem_method() {
return 'ftpsockets';
$tempFile = tempnam(get_temp_dir(), 'WPU'); $tempFile = tempnam(get_temp_dir(), 'WPU');
if ( getmyuid() == fileowner($tempFile) ) { if ( getmyuid() == fileowner($tempFile) ) {