kopia lustrzana https://github.com/magicbug/Cloudlog
[Global Configs] Addresses issue #765
rodzic
89ac4c35b7
commit
cf1f3487c6
|
@ -12,8 +12,8 @@ class Options extends CI_Controller {
|
|||
$this->load->helper(array('form', 'url'));
|
||||
|
||||
$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'); }
|
||||
}
|
||||
if(!$this->user_model->authorize(99)) { $this->session->set_flashdata('notice', 'You\'re not allowed to do that!'); redirect('dashboard'); }
|
||||
}
|
||||
|
||||
|
||||
// Default /options view just gives some text to explain the options area
|
||||
|
|
Ładowanie…
Reference in New Issue