dont count video file
This commit is contained in:
parent
46c917428b
commit
a33747b67f
|
@ -52,7 +52,10 @@ function getFileCountInFolder()
|
||||||
while (false !== ($entry = readdir($handle))) {
|
while (false !== ($entry = readdir($handle))) {
|
||||||
if ($entry != "." && $entry != "..")
|
if ($entry != "." && $entry != "..")
|
||||||
{
|
{
|
||||||
array_push($files, $entry);
|
if(getFileExtention($entry) != "mp4")
|
||||||
|
{
|
||||||
|
array_push($files, $entry);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue