Changeset 165
- Timestamp:
- 2007-02-27 10:31:17 (20 months ago)
- Location:
- FCKreleaser/trunk
- Files:
-
- 2 modified
-
fckreleaser.php (modified) (1 diff)
-
_source/includes/common.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKreleaser/trunk/fckreleaser.php
r159 r165 103 103 # Skip pseudo links to current and parent dirs (./ and ../). 104 104 if ( preg_match( '/(\.|\.\.)$/', $file ) ) 105 continue ;105 continue ; 106 106 107 107 if ( is_file( $file ) ) 108 108 unlink( $file ) ; 109 109 else if ( is_dir( $file ) ) 110 removeDir( $file ) ;110 RemoveDir( $file ) ; 111 111 } 112 112 -
FCKreleaser/trunk/_source/includes/common.inc
r159 r165 45 45 # Skip pseudo links to current and parent dirs (./ and ../). 46 46 if ( preg_match( '/(\.|\.\.)$/', $file ) ) 47 continue ;47 continue ; 48 48 49 49 if ( is_file( $file ) ) 50 50 unlink( $file ) ; 51 51 else if ( is_dir( $file ) ) 52 removeDir( $file ) ;52 RemoveDir( $file ) ; 53 53 } 54 54