diff options
Diffstat (limited to 'h-source/Application/Models/TalkModel.php')
-rw-r--r-- | h-source/Application/Models/TalkModel.php | 3 |
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; } } |