Make WordPress Core


Ignore:
Timestamp:
03/02/2008 08:17:30 PM (18 years ago)
Author:
ryan
Message:

Remove trailing whites.

File:
1 edited

Legend:

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

    r7129 r7130  
    8888        if( !function_exists('posix_getpwuid') )
    8989            return $owneruid;
    90         $ownerarray=posix_getpwuid($owneruid); 
     90        $ownerarray=posix_getpwuid($owneruid);
    9191        return $ownerarray['name'];
    9292    }
     
    122122            $info = 'u';
    123123        }
    124        
     124
    125125        // Owner
    126126        $info .= (($perms & 0x0100) ? 'r' : '-');
     
    129129                    (($perms & 0x0800) ? 's' : 'x' ) :
    130130                    (($perms & 0x0800) ? 'S' : '-'));
    131        
     131
    132132        // Group
    133133        $info .= (($perms & 0x0020) ? 'r' : '-');
     
    136136                    (($perms & 0x0400) ? 's' : 'x' ) :
    137137                    (($perms & 0x0400) ? 'S' : '-'));
    138        
     138
    139139        // World
    140140        $info .= (($perms & 0x0004) ? 'r' : '-');
     
    169169        if( !function_exists('posix_getgrgid') )
    170170            return $gid;
    171         $grouparray=posix_getgrgid($gid); 
     171        $grouparray=posix_getgrgid($gid);
    172172        return $grouparray['name'];
    173173    }
    174    
     174
    175175    function copy($source,$destination,$overwrite=false){
    176176        if( $overwrite && $this->exists($destination) )
     
    211211        return $retval;
    212212    }
    213    
     213
    214214    function exists($file){
    215215        return @file_exists($file);
     
    231231        return @is_writable($file);
    232232    }
    233    
     233
    234234    function atime($file){
    235235        return @fileatime($file);
     
    250250        return @touch($file,$time,$atime);
    251251    }
    252    
     252
    253253    function mkdir($path,$chmod=false,$chown=false,$chgrp=false){
    254254        if( ! $chmod)
    255255            $chmod = $this->permission;
    256            
     256
    257257        if( !@mkdir($path,$chmod) )
    258258            return false;
     
    276276        return @rmdir($path);
    277277    }
    278    
     278
    279279    function dirlist($path,$incdot=false,$recursive=false){
    280280        if( $this->is_file($path) ){
     
    292292            $struc = array();
    293293            $struc['name']      = $entry;
    294            
     294
    295295            if( '.' == $struc['name'][0] && !$incdot)
    296296                continue;
    297297            if( $limitFile && $struc['name'] != $limitFile)
    298298                continue;
    299            
     299
    300300            $struc['perms']     = $this->gethchmod($path.'/'.$entry);
    301301            $struc['permsn']    = $this->getnumchmodfromh($struc['perms']);
     
    310310            if ('d' == $struc['type'] ){
    311311                $struc['files'] = array();
    312                
     312
    313313                if( $incdot ){
    314314                    //We're including the doted starts
Note: See TracChangeset for help on using the changeset viewer.