From 9747d872827bbae15869f248eca6603e6ce36994 Mon Sep 17 00:00:00 2001 From: Florin-Ciprian Bodin Date: Wed, 25 Oct 2023 18:48:39 +0300 Subject: [PATCH] Update MobileDeviceDetect.php Added more details for Index to getInfo() --- classes/MobileDeviceDetect.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/classes/MobileDeviceDetect.php b/classes/MobileDeviceDetect.php index a7867bc..33388e4 100644 --- a/classes/MobileDeviceDetect.php +++ b/classes/MobileDeviceDetect.php @@ -584,12 +584,13 @@ class MobileDeviceDetect function getInfo() { - return "Browser: {$this->getBrowser()}" . + return "Browsing with: {$this->getBrowser()}" . " - {$this->getVersion()}" . //"Browser User Agent String: {$this->getUserAgent()}
\n" . - " :: Platform: {$this->getPlatform()}" . - "- {$this->mobile_device_detect()}
"; + " :: from OS: {$this->getPlatform()}" . + "- {$this->mobile_device_detect()}" . ", on a server with PHP ". PHP_VERSION ." & OS ". PHP_OS; } } //end of class +?>