From a30d8918c445e83e17bbc6e19580a7719792c49d Mon Sep 17 00:00:00 2001 From: DL6ER Date: Mon, 19 Dec 2016 11:43:59 +0100 Subject: [PATCH] Removed preg_replace --- data.php | 1 - 1 file changed, 1 deletion(-) diff --git a/data.php b/data.php index 57d8aa4f..b82dfa8f 100644 --- a/data.php +++ b/data.php @@ -282,7 +282,6 @@ $lines = []; $hostname = trim(file_get_contents("/etc/hostname"), "\x00..\x1F"); foreach ($log as $line) { - $line = preg_replace('/ {2,}/', ' ', $line); $exploded = explode(" ", $line); if(count($exploded) == 8) { // Structure of data is currently like: