ActivityPub: Whoops

This commit is contained in:
veselcraft 2021-12-28 17:53:47 +03:00
parent 77e2667f89
commit f862b54f43
No known key found for this signature in database
GPG key ID: AED66BC1AC628A4E

View file

@ -316,6 +316,6 @@ abstract class OpenVKPresenter extends SimplePresenter
if(!file_exists(OPENVK_ROOT . ($private ? "/data/private.pem" : "/data/public.pem")))
throw new ISE("private.pem and public.pem files are missing. Please, check 10th step for a installation guide in README file.");
return file(OPENVK_ROOT . ($private ? "/data/private.pem" : "/data/public.pem"));
return implode('', file(OPENVK_ROOT . ($private ? "/data/private.pem" : "/data/public.pem")));
}
}