Update config.php
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ $fh2 = fopen("./scripts/thisrun.txt", "w");
|
|||||||
fwrite($fh, $contents);
|
fwrite($fh, $contents);
|
||||||
fwrite($fh2, $contents2);
|
fwrite($fh2, $contents2);
|
||||||
|
|
||||||
if(strlen($apprise_input) > 0){
|
if(isset($apprise_input)){
|
||||||
$user = shell_exec("awk -F: '/1000/{print $1}' /etc/passwd");
|
$user = shell_exec("awk -F: '/1000/{print $1}' /etc/passwd");
|
||||||
$home = shell_exec("awk -F: '/1000/{print $6}' /etc/passwd");
|
$home = shell_exec("awk -F: '/1000/{print $6}' /etc/passwd");
|
||||||
$home = trim($home);
|
$home = trim($home);
|
||||||
|
|||||||
Reference in New Issue
Block a user