aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Models/TalkModel.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/Models/TalkModel.php
parent11972639df8315753123ebccdadee1f596807ad0 (diff)
Enabled SSL
Diffstat (limited to 'h-source/Application/Models/TalkModel.php')
-rw-r--r--h-source/Application/Models/TalkModel.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/h-source/Application/Models/TalkModel.php b/h-source/Application/Models/TalkModel.php
index 0edcdda..1d15ab7 100644
--- a/h-source/Application/Models/TalkModel.php
+++ b/h-source/Application/Models/TalkModel.php
@@ -96,7 +96,8 @@ class TalkModel extends BaseModel {
//send the notice
Account::sendTalkNotice($myName,$ffusers,$clean['id_hard']);
- header('Refresh: 0;url=http://'.DOMAIN_NAME.$_SERVER['REQUEST_URI']);
+ $domainName = rtrim(Url::getRoot(),"/");
+ header('Refresh: 0;url='.$domainName.$_SERVER['REQUEST_URI']);
exit;
}
}