diff --git a/index.php b/index.php index 0cd0392b..05f277ac 100755 --- a/index.php +++ b/index.php @@ -49,5 +49,6 @@ $tmpl->assign('useUnstable', $unstable); $tmpl->assign('uploadMaxFilesize', $maxUploadFilesize); $tmpl->assign('uploadMaxHumanFilesize', \OCP\Util::humanFileSize($maxUploadFilesize)); $tmpl->assign('savePath', $savePath); +$tmpl->assign("allowShareWithLink", \OC_Appconfig::getValue('core', 'shareapi_allow_links', 'yes')); $tmpl->printPage(); diff --git a/templates/documents.php b/templates/documents.php index 536ea0f4..34192d6a 100755 --- a/templates/documents.php +++ b/templates/documents.php @@ -34,3 +34,4 @@ +