From c04c8f93a0d21586825301fc9cfefda1fefac46c Mon Sep 17 00:00:00 2001 From: DL6ER Date: Mon, 19 Dec 2016 11:56:06 +0100 Subject: [PATCH] Don't need to get $hostname anymore --- data.php | 1 - 1 file changed, 1 deletion(-) diff --git a/data.php b/data.php index 6b9acde9..1d163c67 100644 --- a/data.php +++ b/data.php @@ -280,7 +280,6 @@ function getBlockedQueries(\SplFileObject $log) { $log->rewind(); $lines = []; - $hostname = trim(file_get_contents("/etc/hostname"), "\x00..\x1F"); foreach ($log as $line) { $exploded = explode(" ", $line); if(count($exploded) == 8) {