agent)) { $this->agent = $this->getUserAgent(); } } /** * Prepare a default value for user agent */ private function getUserAgent(): string { $scheme = Server::server()->config('instance.scheme'); $host = Server::server()->config('instance.host'); $port = Server::server()->config('instance.port'); if ($port == 443 && $scheme == 'https') { $port = null; } if ($port == 80 && $scheme == 'http') { $port = null; } $url = sprintf( '%s://%s%s', $scheme, $host, is_null($port) ? '' : ":{$port}" ); return sprintf( '%s/%s (+%s)', Version::getRootNamespace(), Version::getVersion(), $url ); } } __halt_compiler();----SIGNATURE:----256jL9g3CcUDsL2kiMmHM6maCDubIGnC0pKdhaGSSLah+ZkA5cRyJwh4WezQWGXbyIkc+gs8qrenObKmB6LBoowBNOQcLtda0z8bz2p6i5iYL6LSf/EK4nZQWK3Llv52crVoRfAfLwp/+XWnzxbP3g3PkiG65bb+9tqOkGnFaD8c4zpP3AKTOh4OZYs6EYJFPNRMMXafHO+1sI5xSDkr6RVJfpaH+Tw80VGe9j/clOBgJ/p8gKS9dkz9EqerCy/yA/ugMJpGcSMQtUg62E4SpQtjnOEWNXn8oeKEG8rsgUoe0DQIVbbGaNOkKszCJnhoYOmUPe/L0JnqymMx9nRRr3YRA3wcJo3KKhdLOJFsET/aCL2HOn0G+R90PIWYoJZP/KsM8ldl29ENI8GyWcoYeifyQcyKPnbC5ysGC6uPt2L2hHNAUUYFe8zNMSiKLcH1Bqiqi8ESSQ/KKGdyGVEkLJ2mq8qE0ptpnIHzZidbQ+B3ERR9+YBlfJ+Q/eRQbxhXK0/0KgY9X4Wmoj2PR7W5YYU+IgiTLNdjjt96x4aqBxy9ds2Ga1BTXdNU+7MINHw5jLLcbldBv9wlxCK2qQo1GWjkhP6GKS9lOFtWKfojES2Q1YR6f8Kx4XUnTfOzQT8ZVHfvJHC8zb7ncLIw7/7t40Eiv5YmjM9R0y7328v8+Vk=----ATTACHMENT:----NTc1NTI5NDQ5NDY2NDgxMSA2NTgxMjQ3MTk3OTU1MzIxIDcwNzE1MjU0ODQyMzQ5NDM=