summaryrefslogtreecommitdiff
path: root/Postman
diff options
context:
space:
mode:
authoryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2018-04-21 21:45:16 +0000
committeryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2018-04-21 21:45:16 +0000
commit152216ed4fd9e7bae72fca87dd1542c1ea5c1196 (patch)
treeee67e3c22443665e07fcfe26d40f7835ae4a0a0a /Postman
parentfb8015835c7003d36a5b7a8f64b6f4713fd28fa7 (diff)
downloadPost-SMTP-152216ed4fd9e7bae72fca87dd1542c1ea5c1196.zip
Add hostname to diagnostic test
Diffstat (limited to 'Postman')
-rw-r--r--Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php b/Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php
index c820c97..9f1c591 100644
--- a/Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php
+++ b/Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php
@@ -209,6 +209,7 @@ class PostmanGetDiagnosticsViaAjax {
*/
public function getDiagnostics() {
$transportRegistry = PostmanTransportRegistry::getInstance();
+ $this->addToDiagnostics( 'HostName', PostmanUtils::getServerName() );
$this->addToDiagnostics( 'OS', php_uname() );
$this->addToDiagnostics( 'PHP', PHP_OS . ' ' . PHP_VERSION . ' ' . setlocale( LC_CTYPE, 0 ) );
$this->addToDiagnostics( 'PHP Dependencies', $this->getPhpDependencies() );