Changeset 11823 for trunk/wp-admin/includes/class-wp-filesystem-ssh2.php
- Timestamp:
- 08/15/2009 12:01:04 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-filesystem-ssh2.php
r11818 r11823 46 46 var $sftp_link = false; 47 47 var $keys = false; 48 /*49 * This is the timeout value for ssh results.50 * Slower servers might need this incressed, but this number otherwise should not change.51 *52 * @parm $timeout int53 *54 */55 var $timeout = 15;56 48 var $errors = array(); 57 49 var $options = array(); … … 149 141 } else { 150 142 stream_set_blocking( $stream, true ); 151 stream_set_timeout( $stream, $this->timeout);143 stream_set_timeout( $stream, FS_TIMEOUT ); 152 144 $data = stream_get_contents( $stream ); 153 145 fclose( $stream );
Note: See TracChangeset
for help on using the changeset viewer.