Skip to content

Commit

Permalink
Also check some other files
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasReschke committed Aug 12, 2012
1 parent 2024d42 commit 4fd069b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/migrate.php
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ private static function copy_r( $path, $dest ){
$objects = scandir( $path );
if( sizeof( $objects ) > 0 ){
foreach( $objects as $file ){
if( $file == "." || $file == ".." )
if( $file == "." || $file == ".." || $file == ".htaccess")
continue;
// go on
if( is_dir( $path . '/' . $file ) ){
Expand Down

0 comments on commit 4fd069b

Please sign in to comment.