From 9a041dbac782566ff5a7ddb1f472e587cd6663f2 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Tue, 16 Sep 2014 09:34:13 +0000 Subject: Enabled SSL --- h-source/Application/Controllers/UsersController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'h-source/Application/Controllers/UsersController.php') diff --git a/h-source/Application/Controllers/UsersController.php b/h-source/Application/Controllers/UsersController.php index 3c3520c..c324804 100644 --- a/h-source/Application/Controllers/UsersController.php +++ b/h-source/Application/Controllers/UsersController.php @@ -70,7 +70,8 @@ class UsersController extends BaseController if (strcmp($redirect,'') !== 0) { $redirect = html_entity_decode($redirect,ENT_QUOTES,DEFAULT_CHARSET); - header('Location: http://'.DOMAIN_NAME."/".$redirect); + $domainName = rtrim(Url::getRoot(),"/"); + header('Location:'.$domainName."/".$redirect); } else { -- cgit v1.2.3