fixes #302, file extension case insensitive for sync

if $conf['picture_ext'] contains "jpg", Piwigo sync will accept {jpg,JPG,Jpg,jPg,jpG,...}
This commit is contained in:
plegall
2017-04-07 15:25:10 +02:00
parent 1c5b36f734
commit d58a24c882
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ function get_elements($path)
if (is_file($path.'/'.$node))
{
$extension = get_extension($node);
$extension = strtolower(get_extension($node));
$filename_wo_ext = get_filename_wo_extension($node);
if ( isset($conf['flip_file_ext'][$extension]) )