From 1008b7f7c8bf8b186a76613ec2277dfe121cc043 Mon Sep 17 00:00:00 2001 From: Bill Marquette Date: Sun, 15 Feb 2009 22:03:52 -0600 Subject: fix bad regexp --- config/imspector/services_imspector_logs.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/imspector/services_imspector_logs.php b/config/imspector/services_imspector_logs.php index 26ebd97a..fce9b892 100644 --- a/config/imspector/services_imspector_logs.php +++ b/config/imspector/services_imspector_logs.php @@ -101,8 +101,8 @@ if ($_POST['mode'] == "render") { while (!feof($fd)) { $line = fgets($fd); if(feof($fd)) continue; - $new_format = '([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*)'; - $old_format = '([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*)'; + $new_format = '([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),(.*)'; + $old_format = '([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),(.*)'; preg_match("/${new_format}|${old_format}/", $line, $matches); $address = $matches[1]; $timestamp = $matches[2]; -- cgit v1.2.3