mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 10:22:18 +00:00
Merge branch 'ci' of https://github.com/FH-Complete/FHC-Core into ci
Conflicts: application/config/fhcomplete.php application/core/FHC_Model.php
This commit is contained in:
@@ -10,7 +10,9 @@
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
defined('FCPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('FCPATH'))
|
||||
exit('No direct script access allowed');
|
||||
|
||||
require_once(FCPATH.'include/basis_db.class.php');
|
||||
require_once(FCPATH.'include/organisationseinheit.class.php');
|
||||
require_once(FCPATH.'include/studiengang.class.php');
|
||||
@@ -43,10 +45,11 @@ class FHC_DB_ACL
|
||||
* @param string $password
|
||||
* @return bool
|
||||
*/
|
||||
function __construct($param)
|
||||
function __construct($param = null)
|
||||
{
|
||||
$this->bb = new benutzerberechtigung();
|
||||
$this->_uid = $param['uid'];
|
||||
if (is_array($param) && isset($param['uid']))
|
||||
$this->_uid = $param['uid'];
|
||||
}
|
||||
|
||||
function isBerechtigt($berechtigung_kurzbz, $art=null, $oe_kurzbz=null, $kostenstelle_id=null)
|
||||
|
||||
Reference in New Issue
Block a user