mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
bug:2513
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:
@@ -84,6 +84,8 @@ function get_elements($path)
|
||||
{
|
||||
while (($node = readdir($contents)) !== false)
|
||||
{
|
||||
if ($node == '.' or $node == '..') continue;
|
||||
|
||||
if (is_file($path.'/'.$node))
|
||||
{
|
||||
$extension = get_extension($node);
|
||||
@@ -98,8 +100,6 @@ function get_elements($path)
|
||||
}
|
||||
}
|
||||
elseif (is_dir($path.'/'.$node)
|
||||
and $node != '.'
|
||||
and $node != '..'
|
||||
and $node != 'pwg_high'
|
||||
and $node != 'pwg_representative'
|
||||
and $node != 'thumbnail' )
|
||||
|
||||
Reference in New Issue
Block a user