Commit c1c46883 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 96053f7c
...@@ -65,6 +65,8 @@ class Media { ...@@ -65,6 +65,8 @@ class Media {
return 0; return 0;
break; break;
case "save": case "save":
echo $this->Console->getColoredString("Config gespeichert!","red", "light_gray").PHP_EOL.PHP_EOL;
$dateihandle = fopen($this->configfile,"w"); $dateihandle = fopen($this->configfile,"w");
fwrite($dateihandle, json_encode($this->config, JSON_PRETTY_PRINT)); fwrite($dateihandle, json_encode($this->config, JSON_PRETTY_PRINT));
fclose($dateihandle); fclose($dateihandle);
......
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