Files
opensourcepos/application/controllers/Home.php
2017-09-09 10:30:12 +01:00

25 lines
399 B
PHP

<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
require_once("Secure_Controller.php");
class Home extends Secure_Controller
{
function __construct()
{
parent::__construct(NULL, NULL, 'home');
}
public function index()
{
$this->load->view('home');
}
public function logout()
{
$this->track_page('logout', 'logout');
$this->Employee->logout();
}
}
?>