16 lines
499 B
PHP
16 lines
499 B
PHP
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||
|
|
||
|
class Errors extends CI_Controller {
|
||
|
public function index() {
|
||
|
$this->e404();
|
||
|
}
|
||
|
|
||
|
public function error404() {
|
||
|
$this->load->model('settings_model');
|
||
|
$view['company_name'] = $this->settings_model->get_setting('company_name');
|
||
|
$this->load->view('general/error404', $view);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* End of file errors.php */
|
||
|
/* Location: ./application/controllers/errors.php */
|