mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-05 06:35:38 +09:00
Replace double quote
This commit is contained in:
1 parent
9d1e7a1ffc
commit
9d990281e4
1 file changed
+2
-2
@@ -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');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user