Commit ca2fb969 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 433b698f
...@@ -989,9 +989,9 @@ class Media { ...@@ -989,9 +989,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{
$Endung = trim(substr($Value,strripos( $Value,".")+1)); $Endung = trim(substr($Value,strripos( $Value,".")+1));
......
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