CC-3797: Feedback Metrics "Show Me What I Am Sending" doesnt show all of the fields that are being sent

- system info from airtime-check-system now displays in "Show Me What I Am Sending"
This commit is contained in:
denise 2012-05-14 18:10:20 -04:00
parent c24a8a2308
commit 6add79268f
2 changed files with 7 additions and 3 deletions

View file

@ -34,7 +34,7 @@ class AirtimeCheck {
{
// Need to check that we are superuser before running this.
$euid = posix_geteuid();
$user = posix_getlogin();
$user = exec('whoami');
if($euid != 0 && $user != "www-data"){
echo "Must be root user.\n";
exit(1);