X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=index.php;h=c68e8836fdb97bf1e37d772f889b7f97d7512181;hb=017eee8e5d7fb4c976032f6e1b14947254fc073e;hp=3289d29b34215858c738024713ecd09ac696fe31;hpb=26703076f66f77f337559416cc02101c532d7aa8;p=quix0rs-gnu-social.git diff --git a/index.php b/index.php index 3289d29b34..c68e8836fd 100644 --- a/index.php +++ b/index.php @@ -268,7 +268,7 @@ function main() $site_ssl = common_config('site', 'ssl'); // If the request is HTTP and it should be HTTPS... - if ($site_ssl != 'never' && !StatusNet::isHTTPS() && common_is_sensitive($args['action'])) { + if ($site_ssl != 'never' && !GNUsocial::isHTTPS() && common_is_sensitive($args['action'])) { common_redirect(common_local_url($args['action'], $args)); }