mirror of
https://github.com/openvk/openvk
synced 2024-12-23 09:01:15 +03:00
ActivityPub: I actually broke it, lol
This commit is contained in:
parent
44f981909a
commit
d1528a6355
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ abstract class OpenVKPresenter extends SimplePresenter
|
|||
function isActivityPubClient(): bool
|
||||
{
|
||||
$accept = explode(";", $_SERVER['HTTP_ACCEPT']);
|
||||
return (bool) preg_match("/(application\/(ld\+json|activity\+json))/gm", $accept[0]);
|
||||
return (bool) preg_match("/(application\/(ld\+json|activity\+json))/", $accept[0]);
|
||||
}
|
||||
|
||||
function getPersonContext()
|
||||
|
|
Loading…
Reference in a new issue