Commit e7d5909c authored by Nico Schallehn's avatar Nico Schallehn

tst

parent bb745768
...@@ -99,7 +99,6 @@ class Media { ...@@ -99,7 +99,6 @@ 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) {
echo $this->PfadzumAusgeben.$value;
if(!($key == "HDDdir")){ if(!($key == "HDDdir")){
if(!is_dir($this->PfadzumAusgeben.$value)){ return " ".$this->Console->error("Pfad für Ausgabe exisitiert nicht!").PHP_EOL; } 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