diff options
author | zotlabs <mike@macgirvin.com> | 2017-09-19 19:15:15 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-09-19 19:15:15 -0700 |
commit | b0cdec0c35136db8cbb0cf13135a1f5cc8d1bc05 (patch) | |
tree | 0c2848bc523b48e3f64c282e04a49b16bb8a7ce6 /Zotlabs/Lib | |
parent | 373af6d4f4afe8599f45764d5b289f714b84f630 (diff) | |
download | volse-hubzilla-b0cdec0c35136db8cbb0cf13135a1f5cc8d1bc05.tar.gz volse-hubzilla-b0cdec0c35136db8cbb0cf13135a1f5cc8d1bc05.tar.bz2 volse-hubzilla-b0cdec0c35136db8cbb0cf13135a1f5cc8d1bc05.zip |
perform caching of jsonld schemas
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r-- | Zotlabs/Lib/LDSignatures.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Zotlabs/Lib/LDSignatures.php b/Zotlabs/Lib/LDSignatures.php index fa2758044..77e2ef332 100644 --- a/Zotlabs/Lib/LDSignatures.php +++ b/Zotlabs/Lib/LDSignatures.php @@ -82,6 +82,8 @@ class LDSignatures { if(! is_object($data)) return ''; + jsonld_set_document_loader('jsonld_document_loader'); + return jsonld_normalize($data,[ 'algorithm' => 'URDNA2015', 'format' => 'application/nquads' ]); } |