]> jfr.im git - z_archive/KronOS.git/blob - application/controllers/backend.php
Adding menus!
[z_archive/KronOS.git] / application / controllers / backend.php
1 <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
2
3 class Backend extends CI_Controller {
4
5 public function __construct() {
6 parent::__construct();
7 $this->load->model('user');
8 }
9
10 public function index() {
11 }
12
13 public function logged_in() {
14 $this->json->reply($this->user->is_logged_in());
15 }
16
17 public function login_modal() {
18 print $this->core->get_login();
19 }
20
21 public function get_menu() {
22 $this->json->reply($this->core->get_menu());
23 }
24 }
25 ?>