Added basic setup controller and view
这个提交包含在:
父节点
666817f37e
当前提交
39e3895294
共有 2 个文件被更改,包括 21 次插入 和 0 次删除
|
|
@ -0,0 +1,15 @@
|
||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
class Setup extends CI_Controller {
|
||||||
|
|
||||||
|
/* Default setup page*/
|
||||||
|
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'); }
|
||||||
|
|
||||||
|
$this->load->view('layout/header');
|
||||||
|
$this->load->view('setup/index');
|
||||||
|
$this->load->view('layout/footer');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
<h2>Setup</h2>
|
||||||
|
<div class="wrap_content note">
|
||||||
|
|
||||||
|
<p>Options coming soon.</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
正在加载…
在新工单中引用