X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=index.php;h=c68e8836fdb97bf1e37d772f889b7f97d7512181;hb=1f890f03c885ce0761be80e69e678cce5f9ee46a;hp=3289d29b34215858c738024713ecd09ac696fe31;hpb=e8d1bb25469fe1ef0cbcb32c3022010997aca4b0;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)); }