This commit is contained in:
Paminger
2016-05-04 07:05:23 +02:00
parent a932cfd0ad
commit 6836c3608d
216 changed files with 2934 additions and 147 deletions
+3 -4
View File
@@ -3,17 +3,16 @@ defined('BASEPATH') OR exit('No direct script access allowed');
class FHC_Model extends CI_Model
{
//protected errormsg;
function __construct($uid = null)
{
parent::__construct();
$this->load->helper('language');
$this->lang->load('fhc_model');
//$this->load->helper('fhc_db_acl');
$this->lang->load('fhcomplete');
//$this->load->library('session');
if (is_null($uid))
if (is_null($uid) && isset($this->session->uid))
$uid = $this->session->uid;
else
$uid = null;
$this->load->library('FHC_DB_ACL',array('uid' => $uid));
}