From 28f07f05d35fa2d9244a0d367a0f2cf017a97e8e Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Sat, 11 Apr 2015 15:59:51 -0700 Subject: [PATCH] Core.setting.php - Expose enableSSL --- settings/Core.setting.php | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/settings/Core.setting.php b/settings/Core.setting.php index 143cee55cb..d6b85edf8a 100644 --- a/settings/Core.setting.php +++ b/settings/Core.setting.php @@ -643,9 +643,23 @@ return array( 'title' => 'Verify SSL?', 'is_domain' => 1, 'is_contact' => 0, - 'description' => 'If disabled, backend HTTPS services will allow unverified, insecure connections', + 'description' => 'If disabled, outbound web-service requests will allow unverified, insecure HTTPS connections', 'help_text' => 'Unless you are absolutely unable to configure your server to check the SSL certificate of the remote server you should leave this set to Yes', ), + 'enableSSL' => array( + 'group_name' => 'CiviCRM Preferences', + 'group' => 'core', + 'name' => 'enableSSL', + 'type' => 'Boolean', + 'quick_form_type' => 'YesNo', + 'default' => 0, + 'add' => '4.5', + 'title' => 'Force SSL?', + 'is_domain' => 1, + 'is_contact' => 0, + 'description' => 'If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.', + 'help_text' => 'If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.', + ), 'wpBasePage' => array( 'group_name' => 'CiviCRM Preferences', 'group' => 'core', -- 2.25.1