private function checkFrontEndHTTPHeader() { $isFastly = checkFastlyProxy(); return $isFastly; }
/** * A callback check if the request is behind fastly, and if so, look for * the XFF header. */ public static function checkFastlyProxy($ip, &$trusted) { if (!$trusted) { $trusted = checkFastlyProxy(); } return true; }