Files
opensourcepos/application/controllers/Home.php
FrancescoUK 1f2e87ec09 Encrypt email and sms passwords before saving to MySQL (#963)
It also automatically generates an encryption key if not existing storing it in config/config.php in order to enable encryption.
2016-11-07 19:20:44 +00:00

24 lines
388 B
PHP

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