Update config.php

This commit is contained in:
ehpersonal38
2022-05-10 10:52:06 -04:00
parent d9aa85c488
commit 45fbc435c7
+1 -1
View File
@@ -45,7 +45,7 @@ $fh2 = fopen("./scripts/thisrun.txt", "w");
fwrite($fh, $contents);
fwrite($fh2, $contents2);
if(strlen($apprise_input) > 0){
if(isset($apprise_input)){
$user = shell_exec("awk -F: '/1000/{print $1}' /etc/passwd");
$home = shell_exec("awk -F: '/1000/{print $6}' /etc/passwd");
$home = trim($home);