Commit d6c472cd authored by Nico Schallehn's avatar Nico Schallehn

test

parent 2f6dff20
...@@ -97,7 +97,7 @@ class Media { ...@@ -97,7 +97,7 @@ class Media {
echo "Auf welche Festplatte sollen die Filme gespeichert werden? ( nur Enter = 1)" .PHP_EOL; echo "Auf welche Festplatte sollen die Filme gespeichert werden? ( nur Enter = 1)" .PHP_EOL;
$hddid = trim(fgets(STDIN)); $hddid = trim(fgets(STDIN));
$this->HDDID = (strlen($hddid)>0?$hddid:1); $this->HDDID = (strlen($hddid)>0?$hddid:1);
$this->PfadzumAusgeben = $this->config["HDD"][$hddid]["HDDdir"]; $this->PfadzumAusgeben = $this->config["HDD"][$this->HDDID]["HDDdir"];
if(!is_dir($this->PfadzumAusgeben)){ if(!is_dir($this->PfadzumAusgeben)){
return $this->Console->error("Pfad für Ausgabe exisitiert nicht!").PHP_EOL; return $this->Console->error("Pfad für Ausgabe exisitiert nicht!").PHP_EOL;
}else { }else {
......
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