From f862b54f431db4d1179cc921541781580bd4a1cb Mon Sep 17 00:00:00 2001 From: veselcraft Date: Tue, 28 Dec 2021 17:53:47 +0300 Subject: [PATCH] ActivityPub: Whoops --- Web/Presenters/OpenVKPresenter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Web/Presenters/OpenVKPresenter.php b/Web/Presenters/OpenVKPresenter.php index aba8def3..621f56de 100755 --- a/Web/Presenters/OpenVKPresenter.php +++ b/Web/Presenters/OpenVKPresenter.php @@ -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"))); } }