mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-15 12:57:57 -05:00
Adapt no_access page to show missing grant Adapt Email library to customize return_path header
16 lines
344 B
PHP
16 lines
344 B
PHP
<?php
|
|
class No_Access extends CI_Controller
|
|
{
|
|
function __construct()
|
|
{
|
|
parent::__construct();
|
|
}
|
|
|
|
function index($module_id='',$permission_id='')
|
|
{
|
|
$data['module_name']=$this->Module->get_module_name($module_id);
|
|
$data['permission_id']=empty($permission_id)?$module_id:$permission_id;
|
|
$this->load->view('no_access',$data);
|
|
}
|
|
}
|
|
?>
|