Commit 1c663dce authored by Nico Schallehn's avatar Nico Schallehn

test

parent 82881085
...@@ -11,6 +11,7 @@ echo $String;*/ ...@@ -11,6 +11,7 @@ echo $String;*/
function dirtoArray($dir, $root = ''){ function dirtoArray($dir, $root = ''){
$Arr = scandir($dir); $Arr = scandir($dir);
$Notindexed;
$FolderIgnor = array('.@__thumb', '@Recycle', 'HD-Serien', 'Die Olsenbande', 'Serien'); $FolderIgnor = array('.@__thumb', '@Recycle', 'HD-Serien', 'Die Olsenbande', 'Serien');
unset($Arr[array_search('.', $Arr)]); unset($Arr[array_search('.', $Arr)]);
unset($Arr[array_search('..', $Arr)]); unset($Arr[array_search('..', $Arr)]);
...@@ -25,7 +26,7 @@ function dirtoArray($dir, $root = ''){ ...@@ -25,7 +26,7 @@ function dirtoArray($dir, $root = ''){
} }
else{ else{
$Notindexed[] = $root.'/'.$Value; $Notindexed[] = $root.'/'.$Value;
//echo $root.'/'.$Value.'<br>'; echo $root.'/'.$Value.PHP_EOL;
} }
} }
return $Notindexed; 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