Changeset 11821
- Timestamp:
- 08/15/2009 08:31:06 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-filesystem-ftpext.php
r11495 r11821 202 202 203 203 function exists($file) { 204 $list = @ftp_ rawlist($this->link, $file, false);204 $list = @ftp_nlist($this->link, $file); 205 205 return !empty($list); //empty list = no file, so invert. 206 206 }
Note: See TracChangeset
for help on using the changeset viewer.