|
|
|
@ -33,6 +33,16 @@ $tmpl->assign('internetconnectionworking', OC_Util::isinternetconnectionworking( |
|
|
|
$tmpl->assign('islocaleworking', OC_Util::issetlocaleworking()); |
|
|
|
$tmpl->assign('backgroundjobs_mode', OC_Appconfig::getValue('core', 'backgroundjobs_mode', 'ajax')); |
|
|
|
$tmpl->assign('shareAPIEnabled', OC_Appconfig::getValue('core', 'shareapi_enabled', 'yes')); |
|
|
|
|
|
|
|
// Check if connected using HTTPS
|
|
|
|
if (OC_Request::serverProtocol() == 'https') { |
|
|
|
$connectedHTTPS = true; |
|
|
|
} else { |
|
|
|
$connectedHTTPS = false; |
|
|
|
} |
|
|
|
$tmpl->assign('isConnectedViaHTTPS', $connectedHTTPS); |
|
|
|
$tmpl->assign('enforceHTTPSEnabled', OC_Config::getValue( "forcessl", false)); |
|
|
|
|
|
|
|
$tmpl->assign('allowLinks', OC_Appconfig::getValue('core', 'shareapi_allow_links', 'yes')); |
|
|
|
$tmpl->assign('allowResharing', OC_Appconfig::getValue('core', 'shareapi_allow_resharing', 'yes')); |
|
|
|
$tmpl->assign('sharePolicy', OC_Appconfig::getValue('core', 'shareapi_share_policy', 'global')); |
|
|
|
|