Skip to content
Snippets Groups Projects
Commit 53aef7fa authored by Olav Morken's avatar Olav Morken
Browse files

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
parent 05be20e2
No related branches found
No related tags found
No related merge requests found
...@@ -49,6 +49,9 @@ $message = '<h1>SimpleSAMLphp Error Report</h1> ...@@ -49,6 +49,9 @@ $message = '<h1>SimpleSAMLphp Error Report</h1>
<p>URL:</p> <p>URL:</p>
<pre><a href="' . $data['url'] . '">' . $data['url'] . '</a></pre> <pre><a href="' . $data['url'] . '">' . $data['url'] . '</a></pre>
<p>Host:</p>
<pre>' . htmlspecialchars(php_uname('n')) . '</pre>
<p>Directory:</p> <p>Directory:</p>
<pre>' . dirname(dirname(__FILE__)) . '</pre> <pre>' . dirname(dirname(__FILE__)) . '</pre>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment