Error 404 page and template

This commit is contained in:
Ismo Vuorinen
2013-07-17 13:50:40 +03:00
parent b45e6291ba
commit 769dac1fce
2 changed files with 26 additions and 0 deletions

View File

@@ -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(