This commit is contained in:
bison-paolo
2016-12-14 15:23:43 +01:00
parent ebc13b77bb
commit 637f8d9770
3 changed files with 4 additions and 2 deletions
+2
View File
@@ -29,6 +29,8 @@ class Redirect extends FHC_Controller
public function redirectByToken($token)
{
var_dump($token);
if (isset($token))
{
redirect($this->config->item('addons_aufnahme_url') . '?token=' . $token);
+1 -1
View File
@@ -43,7 +43,7 @@ class ViewMessage extends CI_Controller
{
$data = array (
'message' => $msg->retval[0],
'href' => $this->ci->config->item('message_html_view_url')
'href' => APP_ROOT . $this->config->item('redirect_view_message_url') . $token
);
$this->load->view('system/messageHTML.php', $data);
+1 -1
View File
@@ -5,5 +5,5 @@
B: <?php echo $message->body; ?>
</div>
<div>
<a href="<?php echo $href.$message->token; ?>">Reply</a>
<a href="<?php echo $href; ?>">Reply</a>
</div>