Fix: Undefined index: canonical_webroot
The public page uses the document template but doesn't set the canonical_webroot properly. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
3fd17dbca8
commit
d92a80eacd
@ -249,6 +249,7 @@ class DocumentController extends Controller {
|
|||||||
'urlsrc' => $urlSrc,
|
'urlsrc' => $urlSrc,
|
||||||
'path' => '/',
|
'path' => '/',
|
||||||
'instanceId' => $this->settings->getSystemValue('instanceid'),
|
'instanceId' => $this->settings->getSystemValue('instanceid'),
|
||||||
|
'canonical_webroot' => $this->appConfig->getAppValue('canonical_webroot'),
|
||||||
];
|
];
|
||||||
|
|
||||||
$response = new TemplateResponse('richdocuments', 'documents', $params, 'empty');
|
$response = new TemplateResponse('richdocuments', 'documents', $params, 'empty');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user