diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2014-09-16 09:34:13 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2014-09-16 09:34:13 +0000 |
commit | 9a041dbac782566ff5a7ddb1f472e587cd6663f2 (patch) | |
tree | 5754879e041bb7e226d1f1df7e1d3e6789b2e3c0 /h-source/Application/Controllers/IssuesController.php | |
parent | 11972639df8315753123ebccdadee1f596807ad0 (diff) |
Enabled SSL
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; } } |