Commit 52f0b84b authored by Nico Schallehn's avatar Nico Schallehn

finaler test

parent 4243b031
......@@ -127,8 +127,8 @@ class Media {
$Counter=0;
//var_dump($FilmeArr);
foreach ($FilmeArr as $value) {
echo $value[2]."<>/<>".$value[1].PHP_EOL.PHP_EOL.PHP_EOL.PHP_EOL;
$array = $this->parseMovie($value[2].(strlen($value[0])>0?$value[0].'/':''), $value[1],$action);
//echo $value[2]."<>/<>".$value[1].PHP_EOL.PHP_EOL.PHP_EOL.PHP_EOL;
$array = $this->parseMovie($value[2].(strlen($value[0])>0?'/':''), $value[1],$action);
if(($array == false)){
echo $this->Console->getColoredString(" ","black", "red").PHP_EOL;
$fehler = $this->Console->getColoredString("Fehler!","black", "red")." ".$this->PfadzumEinlesen.'/'.(strlen($value[0])>0?$value[0].'/':'').$value[1].PHP_EOL;
......@@ -746,7 +746,7 @@ 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==""?"":$root.'/').$Value);
echo PHP_EOL.$dir.''.$Value." ". ($root==""?"":$root.'/').$Value.PHP_EOL;
//echo PHP_EOL.$dir.''.$Value." ". ($root==""?"":$root.'/').$Value.PHP_EOL;
}
else{
$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