BenitoDannes

controller-snippet

Mar 11th, 2020
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.10 KB | None | 0 0
  1. $this->load->model("user_model");
  2. if($this->user_model->isNotLogin()) redirect(site_url('admin/login'));
Advertisement
Add Comment
Please, Sign In to add comment