1
0
Fork 0

dont count video file

This commit is contained in:
Chris 2019-03-21 23:43:24 +01:00
parent 46c917428b
commit a33747b67f
1 changed files with 4 additions and 1 deletions

View File

@ -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);
}
}
}