diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-30 04:32:04 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-30 04:32:04 +0000 |
commit | a2b3db924719b111c7c01812fe3470fbbd1ae7cc (patch) | |
tree | 3d4d96a3b91361b177553f9af506ec7f17c14b6b /pages | |
parent | 010bc9650139814f2c74a24b6e320c5c4373e5c4 (diff) | |
download | elgg-a2b3db924719b111c7c01812fe3470fbbd1ae7cc.tar.gz elgg-a2b3db924719b111c7c01812fe3470fbbd1ae7cc.tar.bz2 |
Refs #2428 removed more CONFIG uses
git-svn-id: http://code.elgg.org/elgg/trunk@7769 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'pages')
-rw-r--r-- | pages/account/register.php | 2 | ||||
-rw-r--r-- | pages/avatar/view.php | 1 |
2 files changed, 1 insertions, 2 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); diff --git a/pages/avatar/view.php b/pages/avatar/view.php index ed8a47d59..8b420c61a 100644 --- a/pages/avatar/view.php +++ b/pages/avatar/view.php @@ -31,7 +31,6 @@ if ($filehandler->open("read")) { } if (!$success) { - global $CONFIG; $path = elgg_view('icon/user/default/'.$size); header("Location: {$path}"); exit; |