From ba95b07f673114fe301fc52c8701dc460496d0c4 Mon Sep 17 00:00:00 2001 From: dedeibel Date: Fri, 28 Dec 2018 10:56:05 +0100 Subject: Feedback read, use hostname command --- view/feedback-read.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/feedback-read.php b/view/feedback-read.php index 446c86e..b0f3b33 100644 --- a/view/feedback-read.php +++ b/view/feedback-read.php @@ -23,5 +23,5 @@ echo $tpl->render(array( 'columns' => array_intersect($allcols, $cols), 'allcolumns' => $allcols, - 'hostname' => @$_SERVER['SERVER_NAME'], + 'hostname' => shell_exec('hostname -f'), )); -- cgit v1.2.3