aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Controllers/UsersController.php
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2014-09-16 09:34:13 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2014-09-16 09:34:13 +0000
commit9a041dbac782566ff5a7ddb1f472e587cd6663f2 (patch)
tree5754879e041bb7e226d1f1df7e1d3e6789b2e3c0 /h-source/Application/Controllers/UsersController.php
parent11972639df8315753123ebccdadee1f596807ad0 (diff)
Enabled SSL
Diffstat (limited to 'h-source/Application/Controllers/UsersController.php')
-rw-r--r--h-source/Application/Controllers/UsersController.php3
1 files changed, 2 insertions, 1 deletions
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
{