Also check for some other files

This commit is contained in:
Lukas Reschke 2012-08-13 00:56:15 +02:00
parent 3e504cf894
commit e72a57f595
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@ class OC_Migrate{
$objects = scandir( $path ); $objects = scandir( $path );
if( sizeof( $objects ) > 0 ){ if( sizeof( $objects ) > 0 ){
foreach( $objects as $file ){ foreach( $objects as $file ){
if( $file == "." || $file == ".." ) if( $file == "." || $file == ".." || $file == ".htaccess")
continue; continue;
// go on // go on
if( is_dir( $path . '/' . $file ) ){ if( is_dir( $path . '/' . $file ) ){