mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-04-18 21:48:24 -04:00
apply StyleCI recommendation
This commit is contained in:
+1
-1
@@ -266,7 +266,7 @@ class Request
|
||||
|
||||
// simple cases
|
||||
if (
|
||||
($_SERVER['HTTP_X_REQUESTED_WITH'] ?? '' ) == 'JSONHttpRequest' ||
|
||||
($_SERVER['HTTP_X_REQUESTED_WITH'] ?? '') == 'JSONHttpRequest' ||
|
||||
(
|
||||
str_contains($acceptHeader, self::MIME_JSON) &&
|
||||
!str_contains($acceptHeader, self::MIME_HTML) &&
|
||||
|
||||
Reference in New Issue
Block a user