Subversion Repositories SmartDukaan

Rev

Rev 11743 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?php
if (!defined('BASEPATH'))exit('No direct script access allowed');



Class Error_page extends MY_Controller {

        
         function __construct()
    {
        // Call the CI_controller constructor
        parent::__construct();
                $this->load->helper('url');
                $this->layout->setlayout('layout/layout_view');
        }
        
        
        function index(){
                //$data = array();
                //$url = 'http://www.saholic.com/'.uri_string();
                //$data['errorurl'] = $url;
                $this->output->set_status_header('404');
                $this->load->view('error_page_view');
                
        }
        
        function api_error(){
                $this->layout->view('error_page_view');
                
        }
        
        
}