]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - index.php
Introduced common_location_shared() to check if location sharing is always,
[quix0rs-gnu-social.git] / index.php
index 3289d29b34215858c738024713ecd09ac696fe31..c68e8836fdb97bf1e37d772f889b7f97d7512181 100644 (file)
--- 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));
     }