]> jfr.im git - z_archive/KronOS.git/blob - video/application/controllers/backend.php
Merge branch 'master' of https://github.com/Mustis/WebOsProject
[z_archive/KronOS.git] / video / application / controllers / backend.php
1 <?php
2 class Backend extends CI_Controller {
3
4 public function __construct() {
5 parent::__construct();
6
7 $this->load->model('core');
8 $this->load->model('user');
9 }
10
11 public function index() {
12 print "";
13 }
14
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
23 public function get_menu() {
24 print json_encode($this->core->get_menu());
25 }
26 }
27 ?>