1: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
2:
3: class Errors extends CI_Controller {
4: public function index() {
5: $this->e404();
6: }
7:
8: public function error404() {
9: $this->load->model('settings_model');
10: $view['company_name'] = $this->settings_model->get_setting('company_name');
11: $this->load->view('general/error404', $view);
12: }
13: }
14:
15: /* End of file errors.php */
16: /* Location: ./application/controllers/errors.php */