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>
master^2
Roeland Jago Douma 6 yıl önce
ebeveyn 3fd17dbca8
işleme d92a80eacd
Veri tabanında bu imza için bilinen anahtar bulunamadı
GPG Anahtar Kimliği: F941078878347C0C

@ -249,6 +249,7 @@ class DocumentController extends Controller {
'urlsrc' => $urlSrc,
'path' => '/',
'instanceId' => $this->settings->getSystemValue('instanceid'),
'canonical_webroot' => $this->appConfig->getAppValue('canonical_webroot'),
];
$response = new TemplateResponse('richdocuments', 'documents', $params, 'empty');

Yükleniyor…
İptal
Kaydet