]> source.dussan.org Git - nextcloud-server.git/commitdiff
Also check some other files
authorLukas Reschke <lukas@statuscode.ch>
Sun, 12 Aug 2012 23:26:28 +0000 (01:26 +0200)
committerJörn Friedrich Dreyer <jfd@butonic.de>
Fri, 24 Aug 2012 13:00:52 +0000 (15:00 +0200)
lib/migrate.php

index 5e1922e10e7be29d6e7c27a809bad3de4b398466..06f88b37794b8c077ba84bcbaf85a73a35515fc9 100644 (file)
@@ -322,7 +322,7 @@ class OC_Migrate{
                        $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 ) ){