and
Enable access to $platal in templates even if the page has been killed
git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.11@947
839d8a87-29fc-0310-9880-
83ba4fa771e5
$this->path = 'index';
}
+ $page->assign_by_ref('platal', $this);
switch ($this->call_hook($page)) {
case PL_FORBIDDEN:
$this->__mods['core']->handler_403($page);
$this->__mods['core']->handler_404($page);
break;
}
- $page->assign_by_ref('platal', $this);
$page->run();
}
$u, $globals->asso('id'));
$n = $res->fetchOneCell();
if ($n) {
- $page->trig("$prenom $nom est déjà membre du groupe !");
+ $page->kill("$prenom $nom est déjà membre du groupe !");
return;
}
elseif (Env::has('accept'))