*/
static function mapConfigToSSL() {
$config = CRM_Core_Config::singleton();
- $config->userFrameworkResourceURL = str_replace('http://', 'https://',
- $config->userFrameworkResourceURL
- );
+ $config->userFrameworkResourceURL = str_replace('http://', 'https://', $config->userFrameworkResourceURL);
$config->resourceBase = $config->userFrameworkResourceURL;
+
+ if (! empty($config->extensionsURL)) {
+ $config->extensionsURL = str_replace('http://', 'https://', $config->extensionsURL);
+ }
+
return $config->userSystem->mapConfigToSSL();
}