Changeset 7171

Show
Ignore:
Timestamp:
03/06/08 18:14:58 (5 months ago)
Author:
ryan
Message:

ftpsockets fix from DD32. see #5586

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/includes/class-wp-filesystem-ftpsockets.php

    r7164 r7171  
    180180    } 
    181181 
     182    function chdir($file){ 
     183        return $this->ftp->chdir($file); 
     184    } 
     185     
    182186    function chgrp($file,$group,$recursive=false){ 
    183187        return false; 
     
    326330    function is_dir($path){ 
    327331        $cwd = $this->cwd(); 
    328         if ( $this->ftp->chdir($path) ) { 
    329             $this->ftp->chdir($cwd); 
     332        if ( $this->chdir($path) ) { 
     333            $this->chdir($cwd); 
    330334            return true; 
    331335        }