Replace double quote

This commit is contained in:
Jason Long committed 2021-10-28 10:14:30 +08:00
1 parent 9d1e7a1ffc
commit 9d990281e4
1 file changed
+2 -2
+2 -2
View File
@@ -258,9 +258,9 @@ class Box_Request implements \Box\InjectionAwareInterface
$address = null;
if ($trustForwardedHeader) {
// Check to see if the CF-Connecting-IP (Cloudflare) header exists.
if (!empty($this->getServer("HTTP_CF_CONNECTING_IP"))) {
if (!empty($this->getServer('HTTP_CF_CONNECTING_IP'))) {
// If it does, assume that BoxBilling is behind Cloudflare.
$address = $this->getServer("HTTP_CF_CONNECTING_IP");
$address = $this->getServer('HTTP_CF_CONNECTING_IP');
} else {
$address = $this->getServer('HTTP_X_FORWARDED_FOR');
}