Commit 5a8d41b2 authored by Nico Schallehn's avatar Nico Schallehn

test

parent ef40a136
...@@ -13,7 +13,7 @@ $Notindexed; ...@@ -13,7 +13,7 @@ $Notindexed;
function dirtoArray($dir, $root = ''){ function dirtoArray($dir, $root = ''){
$Arr = scandir($dir); $Arr = scandir($dir);
global $Notindexed; global $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)]);
unset($Arr[array_search('.@__thumb', $Arr)]); unset($Arr[array_search('.@__thumb', $Arr)]);
......
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