Commit 47d96529 authored by Nico Schallehn's avatar Nico Schallehn

test

parent db2cae42
...@@ -744,9 +744,9 @@ class Media { ...@@ -744,9 +744,9 @@ class Media {
unset($Arr[array_search($value, $Arr)]); unset($Arr[array_search($value, $Arr)]);
} }
foreach ( $Arr AS $Key => $Value){ foreach ( $Arr AS $Key => $Value){
if(is_dir ($dir.'/'.$Value) AND !in_array($Value, $this->config["FolderIgnor"])){ if(is_dir ($dir.''.$Value) AND !in_array($Value, $this->config["FolderIgnor"])){
$SubDir = $this->dirtoArray($dir.'/'.$Value, ($root==""?"":$root.'/').$Value); $SubDir = $this->dirtoArray($dir.''.$Value, ($root==""?"":$root.'/').$Value);
echo PHP_EOL.$dir.' / '.$Value." ". ($root==""?"":$root.'/').$Value.PHP_EOL; echo PHP_EOL.$dir.''.$Value." ". ($root==""?"":$root.'/').$Value.PHP_EOL;
} }
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