From c0280e53e4569f3f022ce5b8aed3f183c6e2790d Mon Sep 17 00:00:00 2001 From: Dave Longley Date: Tue, 6 Aug 2013 13:54:59 -0400 Subject: [PATCH] Add default base option. --- jsonld.php | 1 + 1 file changed, 1 insertion(+) diff --git a/jsonld.php b/jsonld.php index 7f46ef2..2c5ccf8 100644 --- a/jsonld.php +++ b/jsonld.php @@ -1164,6 +1164,7 @@ class JsonLdProcessor { */ public function processContext($active_ctx, $local_ctx, $options) { self::setdefaults($options, array( + 'base' => '', 'documentLoader' => 'jsonld_default_document_loader')); // return initial context early for null context