From 45fbc435c7818b5194caa5a3cc9729dbd35fc952 Mon Sep 17 00:00:00 2001 From: ehpersonal38 <103586016+ehpersonal38@users.noreply.github.com> Date: Tue, 10 May 2022 10:52:06 -0400 Subject: [PATCH] Update config.php --- scripts/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/config.php b/scripts/config.php index d3f9928..d98949e 100644 --- a/scripts/config.php +++ b/scripts/config.php @@ -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);