Changeset 165 for FCKreleaser/trunk

Show
Ignore:
Timestamp:
2007-02-27 10:31:17 (21 months ago)
Author:
fredck
Message:

Fixed small type in the recursive call of RemoveDir.

Location:
FCKreleaser/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • FCKreleaser/trunk/fckreleaser.php

    r159 r165  
    103103                # Skip pseudo links to current and parent dirs (./ and ../). 
    104104                if ( preg_match( '/(\.|\.\.)$/', $file ) ) 
    105                         continue; 
     105                        continue ; 
    106106 
    107107                if ( is_file( $file ) ) 
    108108                        unlink( $file ) ; 
    109109                else if ( is_dir( $file ) ) 
    110                         removeDir( $file ) ; 
     110                        RemoveDir( $file ) ; 
    111111        } 
    112112 
  • FCKreleaser/trunk/_source/includes/common.inc

    r159 r165  
    4545                # Skip pseudo links to current and parent dirs (./ and ../). 
    4646                if ( preg_match( '/(\.|\.\.)$/', $file ) ) 
    47                         continue; 
     47                        continue ; 
    4848 
    4949                if ( is_file( $file ) ) 
    5050                        unlink( $file ) ; 
    5151                else if ( is_dir( $file ) ) 
    52                         removeDir( $file ) ; 
     52                        RemoveDir( $file ) ; 
    5353        } 
    5454