Update header.php
authorPatrick McGuire <insidenothing@gmail.com>
Wed, 24 Jun 2020 14:37:31 +0000 (10:37 -0400)
committerGitHub <noreply@github.com>
Wed, 24 Jun 2020 14:37:31 +0000 (10:37 -0400)
admin/header.php

index ec95c41..7f7780e 100644 (file)
@@ -13,7 +13,9 @@
   <?PHP 
   include_once('/var/www/secure.php'); //outside webserver
   include_once('../slack.php');
-  slack_general_admin('Page Loaded','md-petition-admin');
+  $page = $_SERVER['REQUEST_URI'];
+  $user = $_COOKIE['name'];
+  slack_general_admin("$name Loaded $page",'md-petition-admin');
   include_once('../session.php');
   include_once('functions.php');
   ?>