Make WordPress Core


Ignore:
Timestamp:
11/23/2009 09:52:13 PM (17 years ago)
Author:
ryan
Message:

Fix wpfs root dir location. Props dd32. fixes #11152

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-filesystem-ftpext.php

    r11934 r12268  
    8383                //Set the Connection to use Passive FTP
    8484                @ftp_pasv( $this->link, true );
    85                 if ( @ftp_get_option($this->link, FTP_TIMEOUT_SEC) < FTP_TIMEOUT )
    86                         @ftp_set_option($this->link, FTP_TIMEOUT_SEC, FTP_TIMEOUT);
     85                if ( @ftp_get_option($this->link, FTP_TIMEOUT_SEC) < FS_TIMEOUT )
     86                        @ftp_set_option($this->link, FTP_TIMEOUT_SEC, FS_TIMEOUT);
    8787
    8888                return true;
Note: See TracChangeset for help on using the changeset viewer.