Subversion Repositories SmartDukaan

Rev

Rev 11356 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
10737 lgm 1
<?php
2
if (!defined('BASEPATH'))exit('No direct script access allowed');
3
 
4
 
5
 
6
Class Error_page extends MY_Controller {
7
 
8
 
9
	 function __construct()
10
    {
11
        // Call the CI_controller constructor
12
        parent::__construct();
13
		$this->load->helper('url');
14
		$this->layout->setlayout('layout/layout_view');
15
	}
16
 
17
 
18
	function index(){
19
 
20
		$this->output->set_status_header('404');
21
		$this->load->view('error_page_view');
22
 
23
	}
24
 
25
	function api_error(){
26
		$this->layout->view('error_page_view');
27
 
28
	}
29
 
30
 
31
}