Changeset 12752 for trunk/wp-admin/includes/class-wp-filesystem-ssh2.php
- Timestamp:
- 01/18/2010 08:34:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-filesystem-ssh2.php
r12723 r12752 172 172 function cwd() { 173 173 $cwd = $this->run_command('pwd'); 174 if ( $cwd )174 if ( $cwd ) 175 175 $cwd = trailingslashit($cwd); 176 176 return $cwd; … … 240 240 241 241 function copy($source, $destination, $overwrite = false ) { 242 if ( ! $overwrite && $this->exists($destination) )242 if ( ! $overwrite && $this->exists($destination) ) 243 243 return false; 244 244 $content = $this->get_contents($source); 245 if ( false === $content)245 if ( false === $content) 246 246 return false; 247 247 return $this->put_contents($destination, $content);
Note: See TracChangeset
for help on using the changeset viewer.