Warning messages during synchronisation on some servers

git-svn-id: http://piwigo.org/svn/trunk@12642 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
patdenice 2011-11-17 18:09:37 +00:00
parent 5c7f267455
commit 95325c68cf
2 changed files with 5 additions and 5 deletions

View file

@ -533,13 +533,13 @@ function get_fs_directories($path, $recursive = true)
{
while (($node = readdir($contents)) !== false)
{
if (is_dir($path.'/'.$node)
and $node != '.'
if ($node != '.'
and $node != '..'
and $node != '.svn'
and $node != 'thumbnail'
and $node != 'pwg_high'
and $node != 'pwg_representative')
and $node != 'pwg_representative'
and is_dir($path.'/'.$node))
{
array_push($dirs, $path.'/'.$node);
if ($recursive)