]> jfr.im git - z_archive/KronOS.git/blob - application/controllers/backend.php
Fixed account.php (this ain't python bro); fixed permissions because I'm picky.
[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('core');
9 $this->load->model('user');
10 }
11
12 public function index() {
13 pass;
14 }
15
16 public function logged_in() {
17 print json_encode($this->user->logged_in);
18 }
19
20 public function login_modal() {
21 print $this->core->get_login();
22 }
23
24 public function get_menu() {
25 print json_encode($this->core->get_menu());
26 }
27 }
28 ?>