mirror of
https://github.com/Ekokumppanit/ystavakylaecard.git
synced 2026-02-16 22:48:08 +00:00
Error 404 page and template
This commit is contained in:
@@ -30,6 +30,20 @@ class Welcome extends CI_Controller
|
||||
$this->load->view('_footer', $data);
|
||||
}
|
||||
|
||||
public function error404()
|
||||
{
|
||||
$data = array(
|
||||
'page_title' => array( 'Virhe 404: Sivua ei löydetty', 'Ystäväkylä eKortti' ),
|
||||
'page_classes' => array( 'error404' ),
|
||||
'count' => $this->card_count,
|
||||
'user' => $this->user
|
||||
);
|
||||
|
||||
$this->load->view('_header', $data);
|
||||
$this->load->view('error404', $data);
|
||||
$this->load->view('_footer', $data);
|
||||
}
|
||||
|
||||
public function info()
|
||||
{
|
||||
$data = array(
|
||||
|
||||
Reference in New Issue
Block a user