From 7b3d87e6d4ec5cc849952fd6461d627bcdba8654 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Wed, 10 Nov 2010 08:33:04 +0000 Subject: Prevent "https login" from breaking login on sites that are https by default git-svn-id: http://code.elgg.org/elgg/trunk@7279 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/account/login_box.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views') diff --git a/views/default/account/login_box.php b/views/default/account/login_box.php index 0f06720f3..4942afb09 100644 --- a/views/default/account/login_box.php +++ b/views/default/account/login_box.php @@ -10,7 +10,7 @@ $form_body = elgg_view('account/forms/login'); $login_url = elgg_get_site_url(); if ((isset($CONFIG->https_login)) && ($CONFIG->https_login)) { - $login_url = str_replace("http", "https", elgg_get_site_url()); + $login_url = str_replace("http:", "https:", elgg_get_site_url()); } ?> -- cgit v1.2.3