Commit d1d770f5 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

filtered out jp4 dir

parent cec02b95
...@@ -81,7 +81,7 @@ function selective_scandir($path,$showall,$rating=5){ ...@@ -81,7 +81,7 @@ function selective_scandir($path,$showall,$rating=5){
$contents = scandir($path); $contents = scandir($path);
foreach($contents as $item){ foreach($contents as $item){
if ($item!='.'&&$item!='..'&&is_dir("$path/$item")){ if ($item!='.'&&$item!='..'&&$item!="jp4"&&is_dir("$path/$item")){
if ($showall){ if ($showall){
array_push($results,$item); array_push($results,$item);
}else{ }else{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment