Commit e9295bda authored by Nico Schallehn's avatar Nico Schallehn

test

parent 65583ab2
...@@ -24,7 +24,7 @@ $Notindexed; ...@@ -24,7 +24,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', '3DHD-Filme', 'FilmeALT'); $FolderIgnor = array('.@__thumb', '@Recycle', 'HD-Serien', 'Die Olsenbande', 'Serien', '3DHD-Filme', 'FilmeALT', 'Filme');
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)]);
...@@ -90,8 +90,8 @@ foreach ($Notindexed as $value) { ...@@ -90,8 +90,8 @@ foreach ($Notindexed as $value) {
$comando = str_replace("(", "\(", $comando); $comando = str_replace("(", "\(", $comando);
$comando = str_replace(") ", "\)", $comando); $comando = str_replace(") ", "\)", $comando);
*/// *///
echo $befehl.PHP_EOL; //echo $befehl.PHP_EOL;
//echo exec($befehl); echo exec($befehl);
} }
} }
......
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