Also check for some other files
This commit is contained in:
parent
3e504cf894
commit
e72a57f595
|
@ -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 ) ){
|
||||||
|
|
Loading…
Reference in New Issue