aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Controllers/UsersController.php
diff options
context:
space:
mode:
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
{