Update config.php

This commit is contained in:
ehpersonal38
2022-05-07 12:43:10 -04:00
parent 65ddee22b1
commit 7d6f55d2ee
+4 -2
View File
@@ -30,8 +30,10 @@ $fh2 = fopen("./scripts/thisrun.txt", "w");
fwrite($fh, $contents);
fwrite($fh2, $contents2);
$appriseconfig = fopen("~/.apprise");
fwrite($appriseconfig, $apprise_input);
if(strlen($apprise_input) > 0){
$appriseconfig = fopen("~/.apprise", "w");
fwrite($appriseconfig, $apprise_input);
}
$language = $_GET["language"];