Commit bb745768 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 6f91a669
......@@ -100,9 +100,10 @@ class Media {
$this->PfadzumAusgeben = $this->config["HDD"][$this->HDDID]["HDDdir"];
foreach ($this->config["HDD"][$this->HDDID] as $key => $value) {
echo $this->PfadzumAusgeben.$value;
if(!($key == "HDDdir")){
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; }
}
}
trim(fgets(STDIN));
......
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