diff options
Diffstat (limited to '')
-rw-r--r-- | view/feedback-read.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/view/feedback-read.php b/view/feedback-read.php index ba7a985..b0f3b33 100644 --- a/view/feedback-read.php +++ b/view/feedback-read.php @@ -7,9 +7,9 @@ if(!$feedback->isLoggedIn()) exit; } -$from = isset($_POST['from']) ? strtotime($_POST['from']) : strtotime('2000-01-01'); +$from = isset($_POST['from']) ? strtotime($_POST['from']) : time(); $to = isset($_POST['to']) ? strtotime($_POST['to']) : time() + 24*60*60; -$cols = isset($_POST['col']) ? $_POST['col'] : array('reported', 'stream', 'player', 'issuetext'); +$cols = isset($_POST['col']) ? $_POST['col'] : array('reported', 'stream', 'os', 'player', 'issues', 'issuetext'); $allcols = array('reported', 'datetime', 'net', 'os', 'stream', 'player', 'ipproto_v4', 'ipproto_v6', 'provider', 'issues', 'issuetext'); @@ -23,4 +23,5 @@ echo $tpl->render(array( 'columns' => array_intersect($allcols, $cols), 'allcolumns' => $allcols, + 'hostname' => shell_exec('hostname -f'), )); |