From ea2bfb6fa5768f15155b85c5fe7ebe3c4abef0f2 Mon Sep 17 00:00:00 2001 From: Daniel Brunner Date: Mon, 15 Aug 2022 01:42:56 +0200 Subject: [PATCH] Fixed info.php for arch linux --- info.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/info.php b/info.php index fe156b0..affb236 100755 --- a/info.php +++ b/info.php @@ -7,17 +7,18 @@
Back - +
$line) { if($i == 0) { - $columns = preg_split('/ +/', $line); + $columns = preg_split('/( |\t)+/', $line); foreach($columns as $column) { echo ' \n"; } @@ -40,7 +41,9 @@ array_shift($matches); - if($matches[0] != 'www-data') { + if (count($matches) == 0) continue; + + if($matches[0] != 'http') { continue; }
' . htmlentities($column) . "