From 53aef7fa23d4bb097e8e2a09ee9d85bfa5b7779d Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Mon, 7 Nov 2011 10:30:02 +0000
Subject: [PATCH] errorreport: Add hostname to the report.

Thanks to Thijs Kinkhorst for implementing this!

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2975 44740490-163a-0410-bde0-09ae8108e29a
---
 www/errorreport.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/www/errorreport.php b/www/errorreport.php
index 83630750a..bef296c13 100644
--- a/www/errorreport.php
+++ b/www/errorreport.php
@@ -49,6 +49,9 @@ $message = '<h1>SimpleSAMLphp Error Report</h1>
 <p>URL:</p>
 <pre><a href="' . $data['url'] . '">' . $data['url'] . '</a></pre>
 
+<p>Host:</p>
+<pre>' . htmlspecialchars(php_uname('n')) . '</pre>
+
 <p>Directory:</p>
 <pre>' . dirname(dirname(__FILE__)) . '</pre>
 
-- 
GitLab