Conflicts:
	application/core/FHC_Model.php
This commit is contained in:
Paminger
2016-06-10 15:41:09 +02:00
48 changed files with 990 additions and 1253 deletions
+6
View File
@@ -19,6 +19,12 @@ class FHC_Model extends CI_Model
// Get UID from the environment (HTTP authentication via authentication.class.php)
elseif(isset($_SERVER['PHP_AUTH_USER']))
$uid = $_SERVER['PHP_AUTH_USER'];
// After getting UID for the first time, it saves it in CI session
if (isset($uid) && !isset($this->session->uid))
{
$this->session->uid = $uid;
}
$this->load->library('FHC_DB_ACL', array('uid' => $uid));
}