From 438180b8c49f749c7c004bcc53657d5dcfe7a7c4 Mon Sep 17 00:00:00 2001 From: Patrick McGuire Date: Tue, 28 Jul 2020 13:54:30 -0400 Subject: [PATCH] Update analytics.php --- admin/analytics.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/admin/analytics.php b/admin/analytics.php index 2e45f63..65fec27 100644 --- a/admin/analytics.php +++ b/admin/analytics.php @@ -11,11 +11,13 @@ if (empty($_GET['run'])){ } include_once('bots.php'); include_once('../slack.php'); + slack_general('run 1','meps-auto'); include_once('security.php'); include_once('/var/www/secure.php'); //outside webserver include_once('functions.php'); }else{ include_once('../slack.php'); + slack_general('run 2','meps-auto'); include_once('/var/www/secure.php'); //outside webserver include_once('functions.php'); } @@ -486,6 +488,6 @@ while($d = mysqli_fetch_array($r)){ // allow headers to be sent... $html = ob_get_clean(); echo $html; // run javascript -slack_general('automation complete','md-petition-admin'); +slack_general('done','meps-auto'); include_once('footer.php'); ?> -- 2.20.1