diff --git a/application/controllers/Cron.php b/application/controllers/Cron.php index 91f80f0b1..e5943d583 100644 --- a/application/controllers/Cron.php +++ b/application/controllers/Cron.php @@ -17,7 +17,7 @@ class cron extends CI_Controller 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'); } + if(!$this->user_model->authorize(99)) { $this->session->set_flashdata('notice', 'You\'re not allowed to do that!'); redirect('dashboard'); } $this->load->helper('file');