path: Path to the plugin files. defaults to site/path + '/plugins/'. Expects that
each plugin will have a subdirectory at plugins/NameOfPlugin. Change this
if you're using a CDN.
+sslpath: Path to use on the SSL server. Same as plugins/path.
Plugins
=======
'server' => null,
'sslserver' => null,
'path' => null,
+ 'sslpath' => null,
),
'admin' =>
array('panels' => array('design', 'site', 'user', 'paths', 'access', 'sessions', 'sitenotice', 'license')),
}
}
- $path = common_config('plugins', 'path');
+ if ($isHTTPS) {
+ $path = common_config('plugins', 'sslpath');
+ } else {
+ $path = common_config('plugins', 'path');
+ }
if (empty($path)) {
$path = common_config('site', 'path') . '/plugins/';