X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=index.php;h=44599d68e94b146465af18a657ecb7660981e757;hb=e46dcc0cc4285d3112589e2409625315f5d2336b;hp=674099e7128c1193547cf1fe689a1e6032e0eb50;hpb=7617fb65d701e3c8fbdb5e2798c2956531facf67;p=quix0rs-gnu-social.git diff --git a/index.php b/index.php index 674099e712..44599d68e9 100644 --- a/index.php +++ b/index.php @@ -265,7 +265,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)); }