Commit 6f91a669 authored by Nico Schallehn's avatar Nico Schallehn

test

parent f3488bec
...@@ -99,7 +99,8 @@ class Media { ...@@ -99,7 +99,8 @@ class Media {
$this->HDDID = (strlen($hddid)>0?$hddid:1); $this->HDDID = (strlen($hddid)>0?$hddid:1);
$this->PfadzumAusgeben = $this->config["HDD"][$this->HDDID]["HDDdir"]; $this->PfadzumAusgeben = $this->config["HDD"][$this->HDDID]["HDDdir"];
foreach ($this->config["HDD"][$this->HDDID] as $key => $value) { foreach ($this->config["HDD"][$this->HDDID] as $key => $value) {
if(!is_dir($this->PfadzumAusgeben.$value)){ return $this->Console->error(" Pfad für Ausgabe exisitiert nicht!").PHP_EOL; } echo $this->PfadzumAusgeben.$value;
if(!is_dir($this->PfadzumAusgeben.$value)){ return " ".$this->Console->error("Pfad für Ausgabe exisitiert nicht!").PHP_EOL; }
else { echo " Verzeichnis ".$this->PfadzumAusgeben.$value." wird für ".$key." als Ausgabe verwendet".PHP_EOL; } else { echo " Verzeichnis ".$this->PfadzumAusgeben.$value." wird für ".$key." als Ausgabe verwendet".PHP_EOL; }
} }
......
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