dont count video file

master
Chris 3 years ago
parent 46c917428b
commit a33747b67f
  1. 5
      getPreview.php

@ -52,7 +52,10 @@ function getFileCountInFolder()
while (false !== ($entry = readdir($handle))) {
if ($entry != "." && $entry != "..")
{
array_push($files, $entry);
if(getFileExtention($entry) != "mp4")
{
array_push($files, $entry);
}
}
}

Loading…
Cancel
Save