aboutsummaryrefslogtreecommitdiff
path: root/pages/account/register.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/account/register.php')
-rw-r--r--pages/account/register.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/account/register.php b/pages/account/register.php
index b368cfdd4..680a9f240 100644
--- a/pages/account/register.php
+++ b/pages/account/register.php
@@ -32,7 +32,7 @@ $content = elgg_view_title($title);
// create the registration url - including switching to https if configured
$register_url = elgg_get_site_url() . 'action/register';
-if ((isset($CONFIG->https_login)) && ($CONFIG->https_login)) {
+if (elgg_get_config('https_login')) {
$register_url = str_replace("http:", "https:", $register_url);
}
$form_params = array('action' => $register_url);