kopia lustrzana https://github.com/magicbug/Cloudlog
Added basic setup controller and view
rodzic
666817f37e
commit
39e3895294
|
@ -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>
|
Ładowanie…
Reference in New Issue