]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - index.php
Handle exceptions when salmon slapping
[quix0rs-gnu-social.git] / index.php
index 674099e7128c1193547cf1fe689a1e6032e0eb50..44599d68e94b146465af18a657ecb7660981e757 100644 (file)
--- 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));
     }