Commit ef40a136 authored by Nico Schallehn's avatar Nico Schallehn

test

parent c2ac4c7e
......@@ -8,10 +8,11 @@ $String = exec('find '.$dir.' * | grep mkv');
//var_dump(scandir($String));
echo $String;*/
$Notindexed;
function dirtoArray($dir, $root = ''){
$Arr = scandir($dir);
$Notindexed = array();
global $Notindexed;
$FolderIgnor = array('.@__thumb', '@Recycle', 'HD-Serien', 'Die Olsenbande', 'Serien');
unset($Arr[array_search('.', $Arr)]);
unset($Arr[array_search('..', $Arr)]);
......@@ -26,7 +27,7 @@ function dirtoArray($dir, $root = ''){
}
else{
$Notindexed[] = $root.'/'.$Value;
echo $root.'/'.$Value.PHP_EOL;
//echo $root.'/'.$Value.PHP_EOL;
}
}
return $Notindexed;
......
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