Files
FHC-Core/application/core/FHC_Controller.php
T
2016-06-23 10:28:26 +02:00

26 lines
425 B
PHP

<?php
if (! defined('BASEPATH')) exit('No direct script access allowed');
class FHC_Controller extends CI_Controller
{
protected $_uid;
public function __construct()
{
parent::__construct();
$this->load->library('session');
$this->load->helper('fhcauth');
$this->_uid = getAuthUID();
}
public function getUID()
{
if (empty($this->_uid))
return false;
else
return $this->_uid;
}
}