forked from GNUsocial/gnu-social
StatusNet class renamed GNUsocial
also added backward compatible StatusNet class for the two calls I know third party plugins use, isHTTPS and getActivePlugins
This commit is contained in:
@@ -386,11 +386,11 @@ class HTMLOutputter extends XMLOutputter
|
||||
|
||||
if (strpos($src, 'plugins/') === 0 || strpos($src, 'local/') === 0) {
|
||||
|
||||
$src = common_path($src, StatusNet::isHTTPS()) . '?version=' . GNUSOCIAL_VERSION;
|
||||
$src = common_path($src, GNUsocial::isHTTPS()) . '?version=' . GNUSOCIAL_VERSION;
|
||||
|
||||
} else {
|
||||
|
||||
if (StatusNet::isHTTPS()) {
|
||||
if (GNUsocial::isHTTPS()) {
|
||||
|
||||
$sslserver = common_config('javascript', 'sslserver');
|
||||
|
||||
@@ -493,7 +493,7 @@ class HTMLOutputter extends XMLOutputter
|
||||
if(file_exists(Theme::file($src,$theme))){
|
||||
$src = Theme::path($src, $theme);
|
||||
}else{
|
||||
$src = common_path($src, StatusNet::isHTTPS());
|
||||
$src = common_path($src, GNUsocial::isHTTPS());
|
||||
}
|
||||
$src.= '?version=' . GNUSOCIAL_VERSION;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user