[Global Configs] Addresses issue #765

pull/769/head
Peter Goodhall 2020-12-22 12:33:28 +00:00
rodzic 89ac4c35b7
commit cf1f3487c6
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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