mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 06:59:46 +01:00
* Filemanager: treat GoodSync _gsdata_ directory as hidden / not shown by default
This commit is contained in:
parent
989c263596
commit
910019c13b
@ -366,7 +366,7 @@ class Vfs
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if file is hidden: name starts with a '.' or is Thumbs.db
|
* Check if file is hidden: name starts with a '.' or is Thumbs.db or _gsdata_
|
||||||
*
|
*
|
||||||
* @param string $path
|
* @param string $path
|
||||||
* @param boolean $allow_versions =false allow .versions or .attic
|
* @param boolean $allow_versions =false allow .versions or .attic
|
||||||
@ -376,7 +376,8 @@ class Vfs
|
|||||||
{
|
{
|
||||||
$file = self::basename($path);
|
$file = self::basename($path);
|
||||||
|
|
||||||
return $file[0] == '.' && (!$allow_versions || !in_array($file, array('.versions', '.attic'))) || $file == 'Thumbs.db';
|
return $file[0] == '.' && (!$allow_versions || !in_array($file, array('.versions', '.attic'))) ||
|
||||||
|
$file == 'Thumbs.db' || $file == '_gsdata_';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user