mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
40 lines
796 B
PHP
40 lines
796 B
PHP
<?php
|
|
|
|
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
|
|
|
/**
|
|
*
|
|
*/
|
|
class Cis4 extends Auth_Controller
|
|
{
|
|
/**
|
|
* Constructor
|
|
*/
|
|
public function __construct()
|
|
{
|
|
parent::__construct(
|
|
array(
|
|
'index' => 'basis/cis:r'
|
|
)
|
|
);
|
|
}
|
|
|
|
// -----------------------------------------------------------------------------------------------------------------
|
|
// Public methods
|
|
|
|
/**
|
|
* @return void
|
|
*/
|
|
public function index()
|
|
{
|
|
$this->load->model('person/Person_model','PersonModel');
|
|
$begruesung = $this->PersonModel->getFirstName(getAuthUID());
|
|
if(isError($begruesung))
|
|
{
|
|
show_error("name couldn't be loaded for username ".getAuthUID());
|
|
}
|
|
$begruesung = getData($begruesung);
|
|
|
|
$this->load->view('CisVue/Dashboard.php',["name"=> $begruesung]);
|
|
}
|
|
} |