diff options
Diffstat (limited to 'h-source/Application/Controllers/IssuesController.php')
-rw-r--r-- | h-source/Application/Controllers/IssuesController.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/h-source/Application/Controllers/IssuesController.php b/h-source/Application/Controllers/IssuesController.php index 87b10d0..9c7b799 100644 --- a/h-source/Application/Controllers/IssuesController.php +++ b/h-source/Application/Controllers/IssuesController.php @@ -151,7 +151,8 @@ class IssuesController extends BaseController $this->m['IssuesModel']->values = array('update_date' => date('Y-m-d H:i:s')); $this->m['IssuesModel']->update($clean['id_issue']); - header('Refresh: 0;url=http://'.DOMAIN_NAME.$_SERVER['REQUEST_URI']); + $domainName = rtrim(Url::getRoot(),"/"); + header('Refresh: 0;url='.$domainName.$_SERVER['REQUEST_URI']); exit; } } |