From 152216ed4fd9e7bae72fca87dd1542c1ea5c1196 Mon Sep 17 00:00:00 2001 From: yehudah Date: Sat, 21 Apr 2018 21:45:16 +0000 Subject: Add hostname to diagnostic test --- Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php | 1 + 1 file changed, 1 insertion(+) 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() ); -- cgit v1.2.3