]> jfr.im git - z_archive/KronOS.git/blob - application/controllers/backend.php
Moved Core (models -> libraries); changed more things to Json lib
[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
8 $this->load->model('user');
9 }
10
11 public function index() {
12 }
13
14 public function logged_in() {
15 $this->json->reply($this->user->is_logged_in());
16 }
17
18 public function login_modal() {
19 print $this->core->get_login();
20 }
21
22 public function get_menu() {
23 $this->json->reply($this->core->get_menu());
24 }
25 }
26 ?>