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

test

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