]>
Commit | Line | Data |
---|---|---|
aa7d56f6 CS |
1 | <?php |
2 | class Backend extends CI_Controller { | |
3 | ||
4 | public function __construct() { | |
5 | parent::__construct(); | |
6 | ||
7 | $this->load->model('core'); | |
9d2ed0ce | 8 | $this->load->model('user'); |
aa7d56f6 CS |
9 | } |
10 | ||
11 | public function index() { | |
12 | print ""; | |
13 | } | |
14 | ||
9d2ed0ce CS |
15 | public function logged_in() { |
16 | print json_encode($this->user->logged_in); | |
17 | } | |
18 | ||
19 | public function login_modal() { | |
20 | print $this->core->get_login(); | |
21 | } | |
22 | ||
aa7d56f6 | 23 | public function get_menu() { |
9d2ed0ce | 24 | print json_encode($this->core->get_menu()); |
aa7d56f6 CS |
25 | } |
26 | } | |
27 | ?> |