Fixed backup features
这个提交包含在:
父节点
65ec84a982
当前提交
03b25d00d5
共有 1 个文件被更改,包括 2 次插入 和 3 次删除
|
|
@ -4,14 +4,13 @@ class Backup extends CI_Controller {
|
|||
function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
$this->load->model('user_model');
|
||||
if(!$this->user_model->authorize(2)) { $this->session->set_flashdata('notice', 'You\'re not allowed to do that!'); redirect('dashboard'); }
|
||||
}
|
||||
|
||||
/* User Facing Links to Backup URLs */
|
||||
public function index()
|
||||
{
|
||||
$this->load->model('user_model');
|
||||
if(!$this->user_model->authorize(2)) { $this->session->set_flashdata('notice', 'You\'re not allowed to do that!'); redirect('dashboard'); }
|
||||
|
||||
$data['page_title'] = "Backup";
|
||||
|
||||
|
|
|
|||
正在加载…
在新工单中引用