You're not allowed to do that!

This commit is contained in:
HB9HIL
2024-08-16 10:08:44 +02:00
parent 4b0517b9b4
commit 5dee1b9968
52 changed files with 152 additions and 101 deletions

View File

@@ -12,7 +12,7 @@ class Stationsetup 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(2)) { $this->session->set_flashdata('error', __("You're not allowed to do that!")); redirect('dashboard'); }
}
public function index() {