aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Controllers/WikiController.php
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2011-04-19 15:24:36 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2011-04-19 15:24:36 +0000
commit930a411469143eab9ee3922fc628c7d0b5665438 (patch)
tree67254eacb9eb81c64497d9e48795a53bfa5e3477 /h-source/Application/Controllers/WikiController.php
parent931861e0513be7e110fc1d98e366cbd4efb831ce (diff)
h-source:added acquisition cards and fingerptint readers - part 2
Diffstat (limited to 'h-source/Application/Controllers/WikiController.php')
-rw-r--r--h-source/Application/Controllers/WikiController.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/h-source/Application/Controllers/WikiController.php b/h-source/Application/Controllers/WikiController.php
index 8f389e5..0e05ffd 100644
--- a/h-source/Application/Controllers/WikiController.php
+++ b/h-source/Application/Controllers/WikiController.php
@@ -61,6 +61,7 @@ class WikiController extends BaseController
if ($this->m['WikiModel']->queryResult)
{
header('Location: http://'.DOMAIN_NAME.'/wiki/page/'.$this->lang.'/'.$this->m['WikiModel']->lastTitleClean);
+ die();
}
}
@@ -120,6 +121,7 @@ class WikiController extends BaseController
if ($this->m['WikiModel']->queryResult)
{
header('Location: http://'.DOMAIN_NAME.'/wiki/page/'.$this->lang.'/'.$this->m['WikiModel']->lastTitleClean);
+ die();
}
}
@@ -140,6 +142,7 @@ class WikiController extends BaseController
else
{
header('Location: http://'.DOMAIN_NAME."/users/login/".$this->lang."?redirect=".$this->controller."/page/".$this->lang."/".titleForRedirect($title));
+ die();
}
}
else
@@ -200,6 +203,7 @@ class WikiController extends BaseController
$newTitle = $this->m['WikiModel']->getTheModelName($clean['idWiki']);
$n = titleForRedirect($newTitle);
header('Location: http://'.DOMAIN_NAME.'/wiki/page/'.$this->lang.'/'.$n);
+ die();
}
else
{
@@ -425,6 +429,7 @@ class WikiController extends BaseController
if ($this->m['WikiModel']->queryResult)
{
header('Location: http://'.DOMAIN_NAME.'/wiki/page/'.$this->lang.'/'.$this->m['WikiModel']->lastTitleClean);
+ die();
}
$data['notice'] = $this->m['WikiModel']->notice;
@@ -476,7 +481,7 @@ class WikiController extends BaseController
if ($this->m['WikitalkModel']->queryResult)
{
header('Refresh: 0;url=http://'.DOMAIN_NAME.$_SERVER['REQUEST_URI']);
- exit;
+ die();
}
}
}